MemoryMappedFileImpl implements MemoryMappedFile { @Override public boolean exists() { return file.exists(); } MemoryMappedFileImpl(File file); @Override boolean exists(); @Override ByteBuffer getBuffer(int size); @Override void close();  }
@Test public void exists() { assertTrue(memoryMappedFile.exists()); }