mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/mp/TestMissionProgramManagerImpl.java
@Test
    public void testActivationProgramNotCheckedOnceSatisfied()
    {
        // mock templates and programs
        mockDependentMissionTemplates();
        mockDependentMissionPrograms();
        
        // replay
        setScriptEngineAndActivate();
        
        // verify not trying to execute program more than once
        verify(m_Logging, never()).debug(eq("The program [%s] has already executed, will not run"), anyVararg());
        
    }
/**
     * Verify the program once satisfied is not checked again at activation.
     */
Verify the program once satisfied is not checked again at activation.
Verify the program once satisfied is not checked again at activation .
@Test
    public void testActivationProgramNotCheckedOnceSatisfied()
    {
        mockDependentMissionTemplates();
        mockDependentMissionPrograms();
        setScriptEngineAndActivate();
        verify(m_Logging, never()).debug(eq("The program [%s] has already executed, will not run"), anyVararg());
    }
@ Test public void testActivationProgramNotCheckedOnceSatisfied ( ) { mockDependentMissionTemplates ( ) ; mockDependentMissionPrograms ( ) ; setScriptEngineAndActivate ( ) ; verify ( m_Logging , never ( ) ) . debug ( eq ( "The program [%s] has already executed, will not run" ) , anyVararg ( ) ) ; }
Verify the program once satisfied is not checked again at activation.
Verify the program once satisfied is not checked again at activation .
// mock templates and programs // replay // verify not trying to execute program more than once