### Question:
InputJarArchive extends JarArchive implements ReadableArchive { @Override public Enumeration<String> entries() { return entries(false); }  long getArchiveSize(); OutputStream addEntry(String name); synchronized void close(); @Override Collection<String> getDirectories(); void create(URI uri); @Override Enumeration<String> entries(); Enumeration entries(Enumeration embeddedArchives); JarEntry getJarEntry(String name); boolean exists(String name); InputStream getEntry(String entryName); long getEntrySize(String name); void open(URI uri); Manifest getManifest(); URI getURI(); boolean exists(); boolean delete(); boolean renameTo(String name); ReadableArchive getSubArchive(String name); static final Logger deplLogger; }### Answer:
@Test public void testNonDirEnryNames() { try { System.out.println("non-directory entry names in InputJarArchive"); final ReadableArchive arch = getArchiveForTest(); final Set<String> returnedNames = new HashSet<String>(setFromEnumeration(arch.entries())); assertEquals("Returned non-directory entry names do not match expected", testStandAloneArchiveJarNonDirEntryNames(), returnedNames); retireArchive(arch); } catch (IOException ex) { ex.printStackTrace(System.out); fail("Error during test"); } }