assertEquals("GetRecords", gr.getName());
DCPType dcp = (DCPType) gr.getDCP().get(0);
RequestMethodType rm = (RequestMethodType) dcp.getHTTP().getPost().get(0);
assertEquals("http://tc22-test:9090/soapService/services/CSWDiscovery", rm.getHref());
assertEquals(6, gr.getParameter().size());
DomainType param = (DomainType) gr.getParameter().get(0);
assertEquals("TypeName", param.getName());
assertEquals("gmd:MD_Metadata", param.getValue().get(0));
assertEquals("csw:Record", param.getValue().get(1));
assertEquals(2, gr.getConstraint().size());
DomainType ct = (DomainType) gr.getConstraint().get(0);
assertEquals("SupportedISOQueryables", ct.getName());
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();