CliHandler { public String fetchTargetItemFile() throws ParseException { return parse("t"); } CliHandler(String[] args); void printUsage(); HashMap<String, String> fetchTemplateFiles(); HashMap<String, String> fetchSourceItemFiles(); String fetchTargetItemFile(); HashMap<String, String> fetchGlobalMetadataFiles(); String[] fetchArguments();  }
@Test public void testParseTargetItemFile() throws Exception { String targetItemFile = cliHandler.fetchTargetItemFile(); assertEquals("/my/out/product.n1", targetItemFile); }