OperationType getCapsOp = (OperationType) om.getOperation().get(2);
assertEquals("GetCapabilities", getCapsOp.getName());
assertEquals(1, getCapsOp.getDCP().size());
DCPType dcp = (DCPType) getCapsOp.getDCP().get(0);
assertEquals(1, dcp.getHTTP().getGet().size());
assertEquals(1, dcp.getHTTP().getPost().size());
assertEquals("http://demo.deegree.org/deegree-wfs/services?", ((RequestMethodType) dcp
.getHTTP().getGet().get(0)).getHref());
assertEquals("http://demo.deegree.org/deegree-wfs/services", ((RequestMethodType) dcp
.getHTTP().getPost().get(0)).getHref());
assertEquals("GetFeature", ((OperationType) om.getOperation().get(0)).getName());
assertEquals("DescribeFeatureType", ((OperationType) om.getOperation().get(1)).getName());
assertEquals("GetFeatureWithLock", ((OperationType) om.getOperation().get(3)).getName());