mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/mp/TestProgramImpl.java
@Test
    public void testSetMissionScript()
    {
        //mock mission script object
        MissionScript mission = mock(MissionScript.class);

        //create program
        ProgramImpl program = createProgram("mission");

        //set the mission script object
        program.setMissionScript(mission);

        //verify
        assertThat(program.getMissionScript(), is(mission));
    }
/**
     * Test the setting of a mission script object within a program.
     */
Test the setting of a mission script object within a program.
Test the setting of a mission script object within a program .
@Test
    public void testSetMissionScript()
    {
        MissionScript mission = mock(MissionScript.class);
        ProgramImpl program = createProgram("mission");
        program.setMissionScript(mission);
        assertThat(program.getMissionScript(), is(mission));
    }
@ Test public void testSetMissionScript ( ) { MissionScript mission = mock ( MissionScript . class ) ; ProgramImpl program = createProgram ( "mission" ) ; program . setMissionScript ( mission ) ; assertThat ( program . getMissionScript ( ) , is ( mission ) ) ; }
Test the setting of a mission script object within a program.
Test the setting of a mission script object within a program .
//mock mission script object //create program //set the mission script object //verify