@Test
public void testDetectBackgroundColor() throws Exception {

	BufferedImage b = ImageIO.read(getClass().getResource("hifive_logo.png"));
	// expectedの値はhifive_logo.pngで事前に計算したImageUtils.detectBackgroundColorの結果を使用
	int expected = 0xfff5f4f4;
	int actual = ImageUtils.detectBackgroundColor(b);
	assertThat(actual, is(expected));
}