DataDictionaryGenerator { public void generate(InputStream inputFile, File outputDir) throws JAXBException, IOException { final Repository repository = unmarshal(inputFile); generate(repository, outputDir); }  static void main(String[] args); void generate(InputStream inputFile, File outputDir); void generate(Repository repository, File outputDir);  }
@Test public void testGenerate() throws Exception { generator.generate( Thread.currentThread().getContextClassLoader().getResource("mit_compressed.xml").openStream(), new File("target/spec")); }