ZipEntryIdentificationRequest implements IdentificationRequest<InputStream> { @Override public final long size() { return size; } 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 testGetSize() { String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><profiles/>"; byte[] expectedBytes = expected.getBytes(); assertEquals(expectedBytes.length, zipResource.size()); }