}
@Test
public void okTest() throws IOException {
WebClient wc = new WebClient();
WebResponse wr = wc.raw("GET", "http://localhost:" + port + "/ok", null, null);
assertEquals(200, wr.getStatus());
assertEquals("GET", wr.getMethod());
assertEquals("OK", wr.getMessage());
assertEquals("text/plain; charset=utf-8", wr.getHeaders().get("Content-Type").get(0));
assertEquals("Hello World", new String(wr.getBody()));