OperationType op = (OperationType) om.getOperation().get( 0 );
assertEquals( "GetCapabilities", op.getName() );
assertEquals( 1, op.getDCP().size() );
HTTPType http = ((DCPType)op.getDCP().get(0)).getHTTP();
assertEquals( 1, http.getGet().size() );
assertEquals( "http://wms1.agr.gc.ca/GeoPS/GeoPS?", ((RequestMethodType)http.getGet().get(0)).getHref() );
op = (OperationType) om.getOperation().get( 1 );
assertEquals( "DescribeProcess", op.getName() );
assertEquals( 1, op.getDCP().size() );
http = ((DCPType)op.getDCP().get(0)).getHTTP();
assertEquals( 1, http.getGet().size() );
assertEquals( "http://wms1.agr.gc.ca/GeoPS/GeoPS?", ((RequestMethodType)http.getGet().get(0)).getHref() );
assertEquals( 1, http.getPost().size() );
assertEquals( "http://wms1.agr.gc.ca/GeoPS/GeoPS", ((RequestMethodType)http.getPost().get(0)).getHref() );
op = (OperationType) om.getOperation().get( 2 );
assertEquals( "Execute", op.getName() );
assertEquals( 1, op.getDCP().size() );
http = ((DCPType)op.getDCP().get(0)).getHTTP();
assertEquals( 1, http.getGet().size() );
assertEquals( "http://wms1.agr.gc.ca/GeoPS/GeoPS?", ((RequestMethodType)http.getGet().get(0)).getHref() );
assertEquals( 1, http.getPost().size() );
assertEquals( "http://wms1.agr.gc.ca/GeoPS/GeoPS", ((RequestMethodType)http.getPost().get(0)).getHref() );
}