assertEquals(25, ct.getValue().size());
assertEquals("RevisionDate", ct.getValue().get(0));
assertEquals("OperatesOnWithOpName", ct.getValue().get(24));
/** This fails, caps are not getting parsed **/
FilterCapabilities filterCapabilities = caps.getFilterCapabilities();
assertNotNull(filterCapabilities);
SpatialCapabilities spatial = filterCapabilities.getSpatialCapabilities();
Collection<GeometryOperand> geoms = spatial.getGeometryOperands();
assertEquals(4, geoms.size());
assertTrue(geoms.contains(GeometryOperand.Envelope));
assertTrue(geoms.contains(GeometryOperand.Polygon));
assertTrue(geoms.contains(GeometryOperand.LineString));
assertTrue(geoms.contains(GeometryOperand.Point));
SpatialOperators sop = spatial.getSpatialOperators();
assertEquals(11, sop.getOperators().size());
assertNotNull(sop.getOperator("Crosses"));
assertNotNull(sop.getOperator("Overlaps"));
assertNotNull(sop.getOperator("BBOX"));
assertNotNull(sop.getOperator("Touches"));
assertNotNull(sop.getOperator("Intersects"));
assertNotNull(sop.getOperator("Equals"));
assertNotNull(sop.getOperator("Within"));
assertNotNull(sop.getOperator("Contains"));
assertNotNull(sop.getOperator("DWithin"));
assertNotNull(sop.getOperator("Beyond"));
ScalarCapabilities scalar = filterCapabilities.getScalarCapabilities();
assertTrue(scalar.hasLogicalOperators());
ComparisonOperators comparison = scalar.getComparisonOperators();
assertEquals(9, comparison.getOperators().size());
assertNotNull(comparison.getOperator("NullCheck"));
assertNotNull(comparison.getOperator("Between"));
assertNotNull(comparison.getOperator("LessThan"));
assertNotNull(comparison.getOperator("GreaterThan"));
assertNotNull(comparison.getOperator("GreaterThanEqualTo"));
assertNotNull(comparison.getOperator("EqualTo"));
assertNotNull(comparison.getOperator("NotEqualTo"));
assertNotNull(comparison.getOperator("Like"));
assertNotNull(comparison.getOperator("LessThanEqualTo"));
ArithmeticOperators arithmetic = scalar.getArithmeticOperators();
assertEquals(0, arithmetic.getFunctions().getFunctionNames().size());
IdCapabilities id = filterCapabilities.getIdCapabilities();
assertTrue(id.hasFID());
assertFalse(id.hasEID());
}