String fname = "Price.java";
File file2 = createResourceFile(genPath + "/org/jboss/ws/types/" + fname);
File file1 = getResourceFile("tools/xsd-java-checker/wscompile/complextypes/emptycontent/" + fname);
JBossSourceComparator sc = new JBossSourceComparator(file1, file2);
assertTrue("Source Files Match:", sc.validate());
sc.validateImports();
}
/**
* Tests Complex Type with Occurrence Indicator
* @throws Exception