assertEquals(Filter.INCLUDE, or.accept(visitor, null));
}
public void testDualFilterAnd() {
Filter original = ff.and(Arrays.asList(ff.not(ff.equal(ff.property("a"), ff.literal(3), true)), ff.equal(ff.property("a"), ff.literal(3), true)));
assertEquals(Filter.EXCLUDE, original.accept(visitor, null));
}
public void testDualFilterNullAnd() {
Filter original = ff.and(Arrays.asList(ff.not(ff.isNull(ff.property("a"))), ff.isNull(ff.property("a"))));
assertEquals(Filter.EXCLUDE, original.accept(visitor, null));