@Test
public void testGetAsStream() throws Exception {

	ScreenshotImage si = new ScreenshotImage(image);
	BufferedImage actual = ImageIO.read(si.getAsStream());
	assertThat(ImageUtils.imageEquals(actual, image), is(true));
}