public void testBeanPropertyValueConstraint() {
And p = constraints.conjunction();
p.add(constraints.required());
p.add(constraints.maxLength(9));
PropertyConstraint e = new PropertyValueConstraint("test", p);
assertTrue(e.test(new TestBean()));
p = constraints.conjunction();
e = new PropertyValueConstraint("test", p);
p.add(constraints.required());
p.add(constraints.maxLength(3));