@Test
public void basicDirTestsWithZipInputStream() throws IOException
{

  File baseDir = new File("fileSystemTest/app2.zip");
  ICloseableDirectory dir = FileSystem.getFSRoot(new FileInputStream(baseDir));
  try {
    File desiredFile = new File(new File(getTestResourceDir(), "/app1"), "META-INF/APPLICATION.MF");
    runBasicDirTest(dir, desiredFile.length(), desiredFile.lastModified());
    runBasicDirTest(dir.toCloseable(), desiredFile.length(), desiredFile.lastModified());
  } finally {
    dir.close();
  }
}