| 25 | class CapabilityTest { |
| 26 | |
| 27 | private class AClient implements Client { |
| 28 | |
| 29 | public AClient(Client client) { |
| 30 | if (!(client instanceof DefaultClient)) { |
| 31 | throw new RuntimeException( |
| 32 | "Test is chaining invokations, expected Default Client instace here"); |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | @Override |
| 37 | public Response execute(Request request, Options options) throws IOException { |
| 38 | return null; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | private class BClient implements Client { |
| 43 |
nothing calls this directly
no outgoing calls
no test coverage detected