StartupPolicy implements Policy { @Override public boolean continueExistingFile(final String path) { return false; } StartupPolicy();  StartupPolicy(final String argument); @Override boolean continueExistingFile(final String path); @Override boolean continueCurrentFile(final byte[] entry); @Override void reset();  }
@Test public void discontinueExistingFile() throws IOException { String file = FileSystem.createTemporaryFile(); assertThat(new StartupPolicy(null).continueExistingFile(file)).isFalse(); }