p = new PropertiesConstraint("test", EqualTo.instance(), "min");
assertFalse(p.test(new TestBean()));
}
public void testParameterizedBeanPropertyExpression() {
ParameterizedPropertyConstraint p = new ParameterizedPropertyConstraint("test", EqualTo.instance(), "testValue");
assertTrue(p.test(new TestBean()));
p = new ParameterizedPropertyConstraint("test", EqualTo.instance(), "test2Value");
assertFalse(p.test(new TestBean()));
}