@Test public void testIsValidBackupFilename_withValidEncryptedBackupFilename_succeeds() { String givenFilename = "/example/filename.dbb"; boolean result = this.target.isValidBackupFilename(givenFilename); assertTrue(result); }
@Override public boolean isValidBackupFilename(String filename) { return isValidZipBackupFilename(filename) || isValidEncryptedBackupFilename(filename); }
BackupFileService extends ServiceDispatcher<I, O> implements BackupFileServiceApi<I, O> { @Override public boolean isValidBackupFilename(String filename) { return isValidZipBackupFilename(filename) || isValidEncryptedBackupFilename(filename); } }
BackupFileService extends ServiceDispatcher<I, O> implements BackupFileServiceApi<I, O> { @Override public boolean isValidBackupFilename(String filename) { return isValidZipBackupFilename(filename) || isValidEncryptedBackupFilename(filename); }  }
BackupFileService extends ServiceDispatcher<I, O> implements BackupFileServiceApi<I, O> { @Override public boolean isValidBackupFilename(String filename) { return isValidZipBackupFilename(filename) || isValidEncryptedBackupFilename(filename); }  @Override boolean isValidBackupFilename(String filename); @Override boolean isValidZipBackupFilename(String filename); @Override boolean isValidEncryptedBackupFilename(String filename); }
BackupFileService extends ServiceDispatcher<I, O> implements BackupFileServiceApi<I, O> { @Override public boolean isValidBackupFilename(String filename) { return isValidZipBackupFilename(filename) || isValidEncryptedBackupFilename(filename); }  @Override boolean isValidBackupFilename(String filename); @Override boolean isValidZipBackupFilename(String filename); @Override boolean isValidEncryptedBackupFilename(String filename);  }