ZipEntryIdentificationRequest implements IdentificationRequest<InputStream> { @Override public final String getExtension() { return extension; } ZipEntryIdentificationRequest(final RequestMetaData metaData, final RequestIdentifier identifier,
            final Path tempDir);  ZipEntryIdentificationRequest(final RequestMetaData metaData, final RequestIdentifier identifier,
            final Path tempDir, final boolean closeStream); @Override final void open(final InputStream in); @Override final void close(); @Override final String getExtension(); @Override final String getFileName(); @Override final long size(); @Override final InputStream getSourceInputStream(); @Override final RequestMetaData getRequestMetaData(); @Override final RequestIdentifier getIdentifier(); @Override byte getByte(long position); @Override WindowReader getWindowReader();  }
@Test public void testGetExtension() { assertEquals("xml", zipResource.getExtension()); assertEquals("profile.xml", zipResource.getFileName()); assertEquals("zip:" + Paths.get(droidZipFileName).toUri() + "!/profile.xml", zipResource.getIdentifier().getUri().toString()); assertEquals(metaData, zipResource.getRequestMetaData()); }