private void doGetBookProxyClient(String address, String username, String password, int expectedStatus)
throws BookNotFoundFault {
SecureBookInterface books = JAXRSClientFactory.create(address, SecureBookInterface.class,
username, password, null);
Book b = books.getThatBook();
assertEquals(123, b.getId());
Response r = WebClient.client(books).getResponse();
assertEquals(expectedStatus, r.getStatus());
}