.append( " <dataType>Grid</dataType>\n" )
.append( " </dataset>\n" )
.append( " </dataset>\n" )
.append( "</catalog>" );
CatalogBuilder catBldr = CatalogXmlUtils.parseCatalogIntoBuilder( docBaseUri, doc.toString() );
String catName = "Unidata THREDDS Data Server";
assertTrue( "Catalog name [" + catBldr.getName() + "] not as expected [" + catName + "].",
catBldr.getName().equals( catName ) );
// ToDo More testing.
Catalog cat = catBldr.build();
cat.getServices();
CatalogXmlUtils.writeCatalogXml( cat );
}