mil.dod.th.ose.config/test/mil/dod/th/ose/config/loading/impl/TestFactoryObjectLoaderImpl.java
@Test
    public void testProcessFirstRun() throws InvalidSyntaxException
    {
        // First run
        m_SUT.process(createConfigList(), true);

        // Post factory object loaded events
        m_EventAdmin.postEvent(m_FactoryObjectEvent);
        m_EventAdmin.postEvent(m_FactoryObjectEvent);
        m_EventAdmin.postEvent(m_FactoryObjectEvent);

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