assertEquals("PrimitiveGeoFeature", ((FeatureTypeType) ftl.getFeatureType().get(2))
.getName().getLocalPart());
}
void assertFilterCapabilities(WFSCapabilitiesType caps) {
FilterCapabilities fc = (FilterCapabilities) caps.getFilterCapabilities();
assertTrue(fc.getIdCapabilities().hasEID());
assertTrue(fc.getIdCapabilities().hasFID());
assertEquals(4, fc.getSpatialCapabilities().getGeometryOperands().size());
SpatialOperators spatial = (SpatialOperators) fc.getSpatialCapabilities()
.getSpatialOperators();
assertEquals(10, spatial.getOperators().size());
assertNotNull(spatial.getOperator("BBOX"));
assertNotNull(spatial.getOperator("Intersects"));
}