@Test
public void testFiredTypeEvent() throws Exception{

    RealAttribute vf = new RealAttribute("height");
    Categorize2Color c2s = new Categorize2Color(new ColorLiteral("#012345"),new ColorLiteral("#001122"), vf);
    CategorizedColor cs = new CategorizedColor(c2s);
    DummyTypeListener tl = new DummyTypeListener();
    cs.addListener(tl);
    cs.setParameter(new ColorLiteral("#AEBECE"));
    assertTrue(tl.count == 1);
    cs.setParameter(c2s);
    assertTrue(tl.count == 2);
}