}
public void testShouldInjectProfileWithRepositoryToStandaloneSuperPom()
throws Exception
{
ProfileManager pm = new DefaultProfileManager( getContainer(), new Properties() );
String profileId = "test-profile";
String repoId = "test-repo";
Profile profile = new Profile();
profile.setId( profileId );
Repository repo = new Repository();
repo.setId( repoId );
repo.setUrl( "http://www.google.com" );
profile.addRepository( repo );
pm.addProfile( profile );
pm.explicitlyActivate( profileId );
MavenProject project = projectBuilder.buildStandaloneSuperProject( getLocalRepository(), pm );
List repositories = project.getRepositories();