Polygon within = (Polygon) wkt.read("POLYGON((0.1 0.1,0.9 0.1,0.9 0.9,0.1 0.9,0.1 0.1))");
Polygon contains = (Polygon) wkt.read("POLYGON((-0.1 -0.1,1.1 -0.1,1.1 1.1,-0.1 1.1,-0.1 -0.1))");
Filter filter = filterService.createOverlapsFilter(poly1, "geometry");
TestFeature f = new TestFeature();
f.expectAndReturn("geometry", touching);
Assert.assertFalse(filter.evaluate(f));
f.clear();
f.expectAndReturn("geometry", disjoint);
Assert.assertFalse(filter.evaluate(f));
f.clear();
f.expectAndReturn("geometry", overlapping);