@Test public void allFieldsExceptReleasePrereleaseAreEnabled() throws Exception { DefaultCleanupPolicyConfiguration underTest = new DefaultCleanupPolicyConfiguration(); assertThat(underTest.getConfiguration().get(LAST_BLOB_UPDATED_KEY), is(equalTo(true))); assertThat(underTest.getConfiguration().get(LAST_DOWNLOADED_KEY), is(equalTo(true))); assertThat(underTest.getConfiguration().get(IS_PRERELEASE_KEY), is(equalTo(false))); }
@Override public Map<String, Boolean> getConfiguration() { return ImmutableMap.of(LAST_BLOB_UPDATED_KEY, true, LAST_DOWNLOADED_KEY, true, IS_PRERELEASE_KEY, false, REGEX_KEY, false); }
DefaultCleanupPolicyConfiguration implements CleanupPolicyConfiguration { @Override public Map<String, Boolean> getConfiguration() { return ImmutableMap.of(LAST_BLOB_UPDATED_KEY, true, LAST_DOWNLOADED_KEY, true, IS_PRERELEASE_KEY, false, REGEX_KEY, false); } }
DefaultCleanupPolicyConfiguration implements CleanupPolicyConfiguration { @Override public Map<String, Boolean> getConfiguration() { return ImmutableMap.of(LAST_BLOB_UPDATED_KEY, true, LAST_DOWNLOADED_KEY, true, IS_PRERELEASE_KEY, false, REGEX_KEY, false); }  }
DefaultCleanupPolicyConfiguration implements CleanupPolicyConfiguration { @Override public Map<String, Boolean> getConfiguration() { return ImmutableMap.of(LAST_BLOB_UPDATED_KEY, true, LAST_DOWNLOADED_KEY, true, IS_PRERELEASE_KEY, false, REGEX_KEY, false); }  @Override Map<String, Boolean> getConfiguration(); }
DefaultCleanupPolicyConfiguration implements CleanupPolicyConfiguration { @Override public Map<String, Boolean> getConfiguration() { return ImmutableMap.of(LAST_BLOB_UPDATED_KEY, true, LAST_DOWNLOADED_KEY, true, IS_PRERELEASE_KEY, false, REGEX_KEY, false); }  @Override Map<String, Boolean> getConfiguration();  }