assertFalse(validate(new Person(30, "Coraline"), text));
}
public void testTranslator12ComplexRule1() {
String text = "{firstName : (length (firstName) > 5 and age <= 30) or (firstName has length and age > 20) : 'Arrggh!!'}";
assertTrue(validate(new Person(30, "Steven"), text));
assertTrue(validate(new Person(30, "Marie-Claire"), text));
assertFalse(validate(new Person(7, "test"), text));
}