mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/config/TestXmlConfigurations.java
@Test 
    public final void testOSGiConfiguration_BundleLoadedAfterActivation() throws IOException
    {
        ConfigurationAdmin configAdmin = IntegrationTestRunner.getService(ConfigurationAdmin.class);
        assertThat(configAdmin, is(notNullValue()));
        
        Configuration exampleConfig = configAdmin.getConfiguration(ZzzExampleClass.CONFIG_PID); 
        
        Dictionary<String,Object> properties = exampleConfig.getProperties();        
        assertThat(properties, is(notNullValue()));
        assertThat(properties.isEmpty(), is(false));        
        
        assertThat(properties, dictionaryHasEntry(ZzzExampleClassConfig.CONFIG_PROP_EXAMPLE_CONFIG_VALUE, (Object)200));
    }
/*
     * Tests that a bundle loaded after config loader activation still is configured.
     */
Tests that a bundle loaded after config loader activation still is configured.
Tests that a bundle loaded after config loader activation still is configured .
@Test 
    public final void testOSGiConfiguration_BundleLoadedAfterActivation() throws IOException
    {
        ConfigurationAdmin configAdmin = IntegrationTestRunner.getService(ConfigurationAdmin.class);
        assertThat(configAdmin, is(notNullValue()));
        Configuration exampleConfig = configAdmin.getConfiguration(ZzzExampleClass.CONFIG_PID); 
        Dictionary<String,Object> properties = exampleConfig.getProperties();        
        assertThat(properties, is(notNullValue()));
        assertThat(properties.isEmpty(), is(false));        
        assertThat(properties, dictionaryHasEntry(ZzzExampleClassConfig.CONFIG_PROP_EXAMPLE_CONFIG_VALUE, (Object)200));
    }
@ Test public final void testOSGiConfiguration_BundleLoadedAfterActivation ( ) throws IOException { ConfigurationAdmin configAdmin = IntegrationTestRunner . getService ( ConfigurationAdmin . class ) ; assertThat ( configAdmin , is ( notNullValue ( ) ) ) ; Configuration exampleConfig = configAdmin . getConfiguration ( ZzzExampleClass . CONFIG_PID ) ; Dictionary < String , Object > properties = exampleConfig . getProperties ( ) ; assertThat ( properties , is ( notNullValue ( ) ) ) ; assertThat ( properties . isEmpty ( ) , is ( false ) ) ; assertThat ( properties , dictionaryHasEntry ( ZzzExampleClassConfig . CONFIG_PROP_EXAMPLE_CONFIG_VALUE , ( Object ) 200 ) ) ; }
Tests that a bundle loaded after config loader activation still is configured.
Tests that a bundle loaded after config loader activation still is configured .