FileSystemIdentificationRequest implements IdentificationRequest<Path> { @Override public final long size() { return size; } FileSystemIdentificationRequest(final RequestMetaData metaData, final RequestIdentifier identifier); @Override final void open(final Path theFile); @Override final String getExtension(); @Override final String getFileName(); @Override final long size(); @Override final void close(); @Override final InputStream getSourceInputStream(); @Override final RequestMetaData getRequestMetaData(); final RequestIdentifier getIdentifier(); @Override byte getByte(long position); @Override WindowReader getWindowReader(); Path getFile();  }
@Test public void testGetSize() throws IOException { assertEquals(Files.size(file), fileRequest.size()); }