| 40 | } |
| 41 | |
| 42 | private class BClient implements Client { |
| 43 | |
| 44 | public BClient(Client client) { |
| 45 | if (!(client instanceof AClient)) { |
| 46 | throw new RuntimeException("Test is chaining invokations, expected AClient instace here"); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | @Override |
| 51 | public Response execute(Request request, Options options) throws IOException { |
| 52 | return null; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | @Test |
| 57 | void enrichClient() { |
nothing calls this directly
no outgoing calls
no test coverage detected