archivaConfigurationControl.setReturnValue( new Configuration() );
archivaConfigurationControl.replay();
action.prepare();
SecureActionBundle bundle = action.getSecureActionBundle();
assertTrue( bundle.requiresAuthentication() );
assertEquals( 1, bundle.getAuthorizationTuples().size() );
}
private void assertRepositoryEquals( RemoteRepositoryConfiguration expectedRepository,
RemoteRepositoryConfiguration actualRepository )