p.add(constraints.maxLength(3));
assertFalse(e.test(new TestBean()));
}
public void testBeanPropertiesExpression() {
PropertiesConstraint p = new PropertiesConstraint("test", EqualTo.instance(), "confirmTest");
assertTrue(p.test(new TestBean()));
p = new PropertiesConstraint("test", EqualTo.instance(), "min");
assertFalse(p.test(new TestBean()));
}