GzipFileConverter implements FileConverter { @Override public String getBackupSuffix() { return GzipEncoder.FILE_EXTENSION; } GzipFileConverter(); @Override String getBackupSuffix(); @Override void open(final String fileName); @Override byte[] write(final byte[] data); @Override void close(); @Override void shutdown();  }
@Test public void suffix() { assertThat(new GzipFileConverter().getBackupSuffix()).isEqualTo(".gz"); }