PropertyName testAttribute = fac.property("testInteger");
Literal testLiteralUpper = fac.literal(1003);
// String tests
PropertyIsBetween filter = fac.between(testAttribute, testLiteralLower, testLiteralUpper);
assertTrue(filter.evaluate(testFeature));
// Test for false positive.
testLiteralLower = fac.literal(1);
testLiteralUpper = fac.literal(1000);
filter = fac.between(testAttribute, testLiteralLower, testLiteralUpper);