mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/core/TestPersistedMissionPrograms.java
@Test
    public void testInactiveProgram() throws IllegalArgumentException, PersistenceFailedException, 
        MissionProgramException
    {
        Program program = m_MissionProgramManager.getProgram("TestInactive");
        //a mission that has not attempted to execute should be unsatisfied
        assertThat(program.getProgramStatus(), is(ProgramStatus.UNSATISFIED));
        assertThat(program.getMissionSchedule().isActive(), is(false));
    }
/**
     * Test that mission programs that are inactive do not execute. 
     * Rechecked in {@link TestMissionProgramManager#testInactiveProgram()}.
     */
Test that mission programs that are inactive do not execute.
Test that mission programs that are inactive do not execute .
@Test
    public void testInactiveProgram() throws IllegalArgumentException, PersistenceFailedException, 
        MissionProgramException
    {
        Program program = m_MissionProgramManager.getProgram("TestInactive");
        assertThat(program.getProgramStatus(), is(ProgramStatus.UNSATISFIED));
        assertThat(program.getMissionSchedule().isActive(), is(false));
    }
@ Test public void testInactiveProgram ( ) throws IllegalArgumentException , PersistenceFailedException , MissionProgramException { Program program = m_MissionProgramManager . getProgram ( "TestInactive" ) ; assertThat ( program . getProgramStatus ( ) , is ( ProgramStatus . UNSATISFIED ) ) ; assertThat ( program . getMissionSchedule ( ) . isActive ( ) , is ( false ) ) ; }
Test that mission programs that are inactive do not execute.
Test that mission programs that are inactive do not execute .
//a mission that has not attempted to execute should be unsatisfied