mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/config/TestXmlConfigurations2ndRun.java
@Test
    public final void testOSGiNonFactoryConfiguration() throws IOException, InvalidSyntaxException
    {
        ConfigurationAdmin configAdmin = IntegrationTestRunner.getService(ConfigurationAdmin.class);
        assertThat(configAdmin, is(notNullValue()));
        
        Configuration[] currentConfigs = configAdmin.listConfigurations(String.format("(service.pid=%s)", 
                ExampleClass.CONFIG_PID));
        assertThat(currentConfigs, is(nullValue()));
    }
/*
     * Tests that an OSGi non-factory configuration does not exists on a 2nd run when removed.
     */
Tests that an OSGi non-factory configuration does not exists on a 2nd run when removed.
Tests that an OSGi non - factory configuration does not exists on a 2nd run when removed .
@Test
    public final void testOSGiNonFactoryConfiguration() throws IOException, InvalidSyntaxException
    {
        ConfigurationAdmin configAdmin = IntegrationTestRunner.getService(ConfigurationAdmin.class);
        assertThat(configAdmin, is(notNullValue()));
        Configuration[] currentConfigs = configAdmin.listConfigurations(String.format("(service.pid=%s)", 
                ExampleClass.CONFIG_PID));
        assertThat(currentConfigs, is(nullValue()));
    }
@ Test public final void testOSGiNonFactoryConfiguration ( ) throws IOException , InvalidSyntaxException { ConfigurationAdmin configAdmin = IntegrationTestRunner . getService ( ConfigurationAdmin . class ) ; assertThat ( configAdmin , is ( notNullValue ( ) ) ) ; Configuration [ ] currentConfigs = configAdmin . listConfigurations ( String . format ( "(service.pid=%s)" , ExampleClass . CONFIG_PID ) ) ; assertThat ( currentConfigs , is ( nullValue ( ) ) ) ; }
Tests that an OSGi non-factory configuration does not exists on a 2nd run when removed.
Tests that an OSGi non - factory configuration does not exists on a 2nd run when removed .