assertEquals(222L, book.getId());
}
@Test
public void testGetBookLowCaseHeader() throws Exception {
WebClient wc = WebClient.create("http://localhost:" + PORT + "/bookstore/booksecho3");
wc.type("text/plain").accept("text/plain").header("CustomHeader", "custom");
String name = wc.post("book", String.class);
assertEquals("book", name);
assertEquals("custom", wc.getResponse().getHeaderString("CustomHeader"));
}