@Test
public void testConstructor(){

    assertTrue(categorize.getNumClasses() == 1);
    try {
        assertTrue(categorize.get(0).getColor(null, -1) == class1.getColor(null, -1));
    } catch (ParameterException ex) {
        Logger.getLogger(Categorize2ColorTest.class.getName()).log(Level.SEVERE, null, ex);
    }
}