FileSystemBackupWriterConfig extends AbstractBackupWriterConfig { String getBaselineDirectory() { return getProperties().getProperty(BASELINE_DIR); } FileSystemBackupWriterConfig(Properties properties);   }
@Test public void getBaselineDirectoryReturnsCorrectString() { properties.setProperty(BASELINE_DIR, baselineDir); assertThat(config.getBaselineDirectory()).isEqualTo(baselineDir); }
@Test public void getBaselineDirectoryIsOptional() { assertThatCode(() -> config.getBaselineDirectory()).doesNotThrowAnyException(); }