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

        verify(m_Context, times(3)).addServiceListener(any(ServiceListener.class), anyString());
    }
/**
     * Test that service trackers are created for all {@link mil.dod.th.model.config.AddressConfig} objects on a
     * first run.
     */
Test that service trackers are created for all  mil.dod.th.model.config.AddressConfig objects on a
first run.
Test that service trackers are created for all mil . dod . th . model . config . AddressConfig objects on a first run .
@Test
    public void testProcessFirstRun() throws InvalidSyntaxException
    {
        List<AddressConfig> configs = createAddressConfigs(false);
        m_SUT.process(configs, true);
        m_EventAdmin.postEvent(m_AddressEvent);
        m_EventAdmin.postEvent(m_AddressEvent);
        m_EventAdmin.postEvent(m_AddressEvent);
        verify(m_Context, times(3)).addServiceListener(any(ServiceListener.class), anyString());
    }
@ Test public void testProcessFirstRun ( ) throws InvalidSyntaxException { List < AddressConfig > configs = createAddressConfigs ( false ) ; m_SUT . process ( configs , true ) ; m_EventAdmin . postEvent ( m_AddressEvent ) ; m_EventAdmin . postEvent ( m_AddressEvent ) ; m_EventAdmin . postEvent ( m_AddressEvent ) ; verify ( m_Context , times ( 3 ) ) . addServiceListener ( any ( ServiceListener . class ) , anyString ( ) ) ; }
Test that service trackers are created for all {@link mil.dod.th.model.config.AddressConfig} objects on a
 first run.
Test that service trackers are created for all { @link mil . dod . th . model . config . AddressConfig } objects on a first run .
// Post factory object loaded events