// Test Disjoint
AttributeExpressionImpl expr1 = new AttributeExpressionImpl(testSchema, "testGeometry");
LineString geom = gf.createLineString(coords);
LiteralExpressionImpl expr2 = new LiteralExpressionImpl(geom);
Intersects intersects = fac.intersects(expr1, expr2);
LOGGER.finer( intersects.toString());
LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
assertTrue(intersects.evaluate(testFeature));
intersects = fac.intersects(expr2, expr1);
LOGGER.finer( intersects.toString());
LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
assertTrue(intersects.evaluate(testFeature));
Function function = new GeometryFunction(geom);
intersects = fac.intersects(expr1, function);
LOGGER.finer( intersects.toString());
LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
assertTrue(intersects.evaluate(testFeature));
LOGGER.finer( intersects.toString());
LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
assertTrue( intersects.evaluate(testFeature) );
coords[0] = new Coordinate(0, 0);
coords[1] = new Coordinate(3, 0);
coords[2] = new Coordinate(6, 0);
expr2 = new LiteralExpressionImpl(gf.createLineString(coords));
intersects = fac.intersects(expr1, expr2);
LOGGER.finer( intersects.toString());
LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
assertTrue(!intersects.evaluate(testFeature));
expr2 = new LiteralExpressionImpl(null);
intersects = fac.intersects(expr1, expr2);
LOGGER.finer( intersects.toString());
LOGGER.finer( "contains feature: " + intersects.evaluate(testFeature));
assertTrue(!intersects.evaluate(testFeature));
}