@Test
public void testGetDominantImage() throws Exception {

	BufferedImage image1 = ImageIO.read(getClass().getResource("ImageUtilsTest_dominant_expected.png"));
	BufferedImage image2 = ImageIO.read(getClass().getResource("ImageUtilsTest_dominant_actual.png"));
	Offset offset = new Offset(5, 5);
	// expectedのdominant_merge.pngは事前に出力したImageUtils.getDominantImageの結果を使用
	BufferedImage expected = ImageIO.read(getClass().getResource("ImageUtilsTest_dominant_merge.png"));
	BufferedImage actual = ImageUtils.getDominantImage(image1, image2, offset);
	assertThat(ImageUtils.imageEquals(expected, actual), is(true));
}