public void testCaseSensitivity() {
Expression e1 = filterFactory.literal( "foo" );
Expression e2 = filterFactory.literal( "FoO" );
PropertyIsNotEqualTo caseSensitive = filterFactory.notEqual( e1, e2, true );
assertTrue( caseSensitive. evaluate( null ) );
PropertyIsNotEqualTo caseInsensitive = filterFactory.notEqual( e1, e2, false );
assertFalse( caseInsensitive. evaluate( null ) );
}