@Test
public void testFiredTypeEvent() throws Exception{

    RealAttribute vf = new RealAttribute("height");
    Categorize2Real c2s = new Categorize2Real(new RealLiteral(100.0),new RealLiteral(-15.0), vf);
    CategorizedReal cs = new CategorizedReal(c2s);
    DummyTypeListener tl = new DummyTypeListener();
    cs.addListener(tl);
    cs.setParameter(new RealLiteral(252.252));
    assertTrue(tl.count == 1);
    cs.setParameter(c2s);
    assertTrue(tl.count == 2);
}