assertEquals(1, jettyWebApp.getResourceRefArray().length);
}
public void testConstructPlan() throws Exception {
GerWebAppDocument tomcatWebAppDoc = GerWebAppDocument.Factory.newInstance();
GerWebAppType tomcatWebAppType = tomcatWebAppDoc.addNewWebApp();
tomcatWebAppType.setConfigId("configId");
tomcatWebAppType.setParentId("parentId");
tomcatWebAppType.setContextPriorityClassloader(false);
GerResourceRefType ref = tomcatWebAppType.addNewResourceRef();
ref.setRefName("ref");
ref.setTargetName("target");
SchemaConversionUtils.validateDD(tomcatWebAppType);
System.out.println(tomcatWebAppType.toString());
}