ChmExtractor { public List<String> enumerateChm() { List<String> listOfEntries = new ArrayList<String>(); for (DirectoryListingEntry directoryListingEntry : getChmDirList().getDirectoryListingEntryList()) { listOfEntries.add(directoryListingEntry.getName()); } return listOfEntries; } ChmExtractor(InputStream is); List<String> enumerateChm(); byte[] extractChmEntry(DirectoryListingEntry directoryListingEntry); ChmDirectoryListingSet getChmDirList();  }
@Test public void testEnumerateChm() { List<String> chmEntries = chmExtractor.enumerateChm(); assertEquals(TestParameters.VP_CHM_ENTITIES_NUMBER, chmEntries.size()); }