public void testGetBookByHeaderPerRequestContextFault() throws Exception {
String address = "http://localhost:" + PORT + "/bookstore2/bookheaders";
WebClient wc = WebClient.create(address);
WebClient.getConfig(wc).getHttpConduit().getClient().setReceiveTimeout(1000000);
wc.accept("application/xml");
wc.header("BOOK", "1", "3", "4");
Response r = wc.get();
assertEquals(400, r.getStatus());
assertEquals("Context setter: unexpected header value", r.readEntity(String.class));
}