@Test
public void testGetFromCategorize(){

    CategorizedColor cs = new CategorizedColor(getCategorize2Color());
    assertTrue(cs.get(20.0).equals(Color.decode("#332133")));
    assertTrue(cs.get(Double.NEGATIVE_INFINITY).equals(Color.decode("#012345")));
    assertNull(cs.get(25.0));
    assertTrue(cs.get(30.0).equals(Color.decode("#A8B9C0")));
    cs = new CategorizedColor(new ColorLiteral("#EDCBA0"));
    assertNull(cs.get(25.0));
    assertTrue(cs.get(Double.NEGATIVE_INFINITY).equals(Color.decode("#EDCBA0")));
}