Collection<InfrastructureContribution> configuration = buildConfiguration();
configuration.add(new InfrastructureContribution("fred", "foo", "FRED-OVERRIDE"));
InfrastructureManager manager = new InfrastructureManagerImpl(log, configuration);
Map<String, Object> map = manager.getContributionsForMode("foo");
assertEquals(map.size(), 2);
assertEquals(map.get("fred"), "FRED-OVERRIDE");
assertEquals(map.get("barney"), "BARNEY");