getRepositoryRegistry().getRepositoryWithFacet(PROXY_REPO_ID, MavenProxyRepository.class);
mavenProxyRepository.setChecksumPolicy(ChecksumPolicy.STRICT);
getApplicationConfiguration().saveConfiguration();
final RemoteStrategy subject = lookup(RemoteStrategy.class, RemotePrefixFileStrategy.ID);
final StrategyResult result = subject.discover(mavenProxyRepository);
assertThat(result.getMessage(),
equalTo("Remote publishes prefix file (is less than a day old), using it."));
final PrefixSource entrySource = result.getPrefixSource();
assertThat(entrySource.supported(), is(true));