mil.dod.th.ose.config/test/mil/dod/th/ose/config/loading/impl/TestAddressLoaderImpl.java
@Test
    public void testProcessNotFirstRun() throws InvalidSyntaxException
    {
        List<AddressConfig> configs = createAddressConfigs(false);
        m_SUT.process(configs, false);
        
        // Post factory object loaded events
        m_EventAdmin.postEvent(m_AddressEvent);

        verify(m_Context, times(1)).addServiceListener(any(ServiceListener.class), anyString());
    }
/**
     * Test that service trackers are created only for {@link mil.dod.th.model.config.AddressConfig} objects with
     * {@link mil.dod.th.model.config.CreatePolicyEnum#IF_MISSING}.
     */
Test that service trackers are created only for  mil.dod.th.model.config.AddressConfig objects with
mil.dod.th.model.config.CreatePolicyEnum#IF_MISSING.
Test that service trackers are created only for mil . dod . th . model . config . AddressConfig objects with mil . dod . th . model . config . CreatePolicyEnum#IF_MISSING .
@Test
    public void testProcessNotFirstRun() throws InvalidSyntaxException
    {
        List<AddressConfig> configs = createAddressConfigs(false);
        m_SUT.process(configs, false);
        m_EventAdmin.postEvent(m_AddressEvent);
        verify(m_Context, times(1)).addServiceListener(any(ServiceListener.class), anyString());
    }
@ Test public void testProcessNotFirstRun ( ) throws InvalidSyntaxException { List < AddressConfig > configs = createAddressConfigs ( false ) ; m_SUT . process ( configs , false ) ; m_EventAdmin . postEvent ( m_AddressEvent ) ; verify ( m_Context , times ( 1 ) ) . addServiceListener ( any ( ServiceListener . class ) , anyString ( ) ) ; }
Test that service trackers are created only for {@link mil.dod.th.model.config.AddressConfig} objects with
 {@link mil.dod.th.model.config.CreatePolicyEnum#IF_MISSING}.
Test that service trackers are created only for { @link mil . dod . th . model . config . AddressConfig } objects with { @link mil . dod . th . model . config . CreatePolicyEnum#IF_MISSING } .
// Post factory object loaded events