SystemConfig implements ISystemConfig { @Override public IConfiguration getConfiguration( String configId ) { return configs.get( configId ); } SystemConfig();  SystemConfig( List<IConfiguration> startingConfigs ); String getProperty( String placeholder ); @Override IConfiguration getConfiguration( String configId ); @Override void registerConfiguration( IConfiguration configuration ); @Override IConfiguration[] listConfigurations();  }
@Test public void testConstructor() throws Exception { systemConfig = new SystemConfig( configs ); assertNotNull( systemConfig.getConfiguration( "1" ) ); assertNotNull( systemConfig.getConfiguration( "2" ) ); }