webClient.closeAllWindows();
}
@Test
public void image() throws IOException {
final UnexpectedPage page = webClient.getPage("http://localhost:8080/test/images/woodstock.jpg");
InputStream is = page.getInputStream();
BufferedImage bi = convertInputStreamToBufferedImage(is);
assertNotNull(bi);
assertEquals(263, bi.getHeight());
assertEquals(192, bi.getWidth());
assertEquals(BufferedImage.TYPE_3BYTE_BGR, bi.getType());