public void testDeleteConstraints() throws Exception
{
ConstraintExp[] _constraintExp = new ConstraintExp[2];
EventType[] _eventType = new EventType[1];
_eventType[0] = new EventType("domain", "name");
String _expression = "1 + 1";
String _expression2 = "2 + 2";
_constraintExp[0] = new ConstraintExp(_eventType, _expression);
_eventType[0] = new EventType("domain2", "name");
_constraintExp[1] = new ConstraintExp(_eventType, _expression2);
ConstraintInfo[] _info = filter_.add_constraints(_constraintExp);
assertTrue(_info.length == 2);