use of org.opengis.filter.PropertyIsNotEqualTo in project ddf by codice.
the class TestCswRecordMapperFilterVisitor method testVisitPropertyIsNotEqualToCaseInsensitive.
@Test
public void testVisitPropertyIsNotEqualToCaseInsensitive() {
Expression val = factory.literal("foo");
PropertyIsNotEqualTo filter = factory.notEqual(attrExpr, val, false);
PropertyIsNotEqualTo duplicate = (PropertyIsNotEqualTo) visitor.visit(filter, null);
assertThat(duplicate.getExpression1(), is(attrExpr));
assertThat(duplicate.getExpression2(), is(val));
assertThat(duplicate.isMatchingCase(), is(false));
}
Aggregations