assertTrue(!predicate.evaluate(new TestBean("bar")));
}
public void testNotEqual() {
BeanPredicate predicate =
new BeanPredicate("stringProperty",new NotPredicate( new EqualPredicate("foo")));
assertTrue(!predicate.evaluate(new TestBean("foo")));
assertTrue(predicate.evaluate(new TestBean("bar")));
}