CallableRequest implements Callable<Response> { public Target getTarget() { return target; } CallableRequest(Target t, Request r, ResponseProcessor p, WebServiceClient c); Request getRequest(); Target getTarget(); @Override Response call();  }
@Test public void testGetTarget() { System.out.println("getTarget"); CallableRequest<UrlInfo, RespondingGatewayPRPAIN201305UV02RequestType, ResponseWrapper> instance = new CallableRequest<>( null, null, null, null); Object expResult = null; Object result = instance.getTarget(); assertEquals(expResult, result); }