WebMetaData webApp = unmarshal();
assertEverything(webApp);
}
public void testVersion() throws Exception
{
Web23MetaData webApp = (Web23MetaData) unmarshal();
DescriptionGroupMetaData dg = webApp.getDescriptionGroup();
assertNotNull(dg);
assertEquals("A servlet 2.3 descriptor", dg.getDescription());
assertEquals("web-app_2_3", webApp.getId());
assertEquals("2.3", webApp.getVersion());
assertEquals("-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN", webApp.getDtdPublicId());
assertEquals("web-app_2_3-display-name", dg.getDisplayName());
}