String baseAddress = "http://localhost:" + PORT + "/test/services/rest";
BookStoreJaxrsJaxws proxy = JAXRSClientFactory.create(baseAddress,
BookStoreJaxrsJaxws.class,
Collections.singletonList(new DummyResponseExceptionMapper()));
Response response = proxy.checkBook(100L);
assertEquals(HttpStatus.SC_NOT_FOUND, response.getStatus());
}
@Test
public void testNoBook357WebClient() throws Exception {