@Test
public void testSingleDate() {

    AttributeRange range = new AttributeRange(1900, 1900);
    RainbowColorMap instance = new RainbowColorMap(range);
    Color result = instance.valueToColor(1900);
    String hex = ColorUtility.toHex(result);
    assertThat("#FF0000", is(equalTo(hex)));
}