{
String docBaseUriString = "http://test/thredds/catalog2/xml/parser/ServiceNameInheritanceTest/notInheritFromParentInheritedMetadataElement.xml";
URI docBaseUri = new URI( docBaseUriString );
String catalogAsString = setupDatasetInheritingServiceNameFromParentInheritedMetadataElement();
CatalogBuilder catBuilder = CatalogXmlUtils.parseCatalogIntoBuilder( docBaseUri, catalogAsString );
CatalogXmlUtils.assertCatalogWithCompoundServiceAsExpected( catBuilder, docBaseUri, null );
assertDatasetOneHasOdapAccess( catBuilder );
assertDatasetTwoHasOdapAccess( catBuilder );
}