@Test
public void testGetMaskedImage() throws Exception {

	BufferedImage image = ImageIO.read(getClass().getResource("hifive_logo.png"));
	List<Rectangle> areas = Collections.singletonList(new Rectangle(10, 10, 10, 10));
	BufferedImage expected = ImageIO.read(getClass().getResource("ImageUtilsTest_maskedImage.png"));
	BufferedImage actual = ImageUtils.getMaskedImage(image, areas);
	assertThat(ImageUtils.imageEquals(expected, actual), is(true));
}