mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/mp/TestProgramImpl.java
@Test
    public void testSetNullMissionScript()
    {
        //create program
        ProgramImpl program = createProgram("mission");

        //set the mission script object
        try
        {
            program.setMissionScript(null);
            fail("Expecting exception since argument is null");
        }
        catch (NullPointerException e)
        {
            
        }
    }
/**
     * Test the setting of a mission script to null causing an error.
     */
Test the setting of a mission script to null causing an error.
Test the setting of a mission script to null causing an error .
@Test
    public void testSetNullMissionScript()
    {
        ProgramImpl program = createProgram("mission");
        try
        {
            program.setMissionScript(null);
            fail("Expecting exception since argument is null");
        }
        catch (NullPointerException e)
        {
        }
    }
@ Test public void testSetNullMissionScript ( ) { ProgramImpl program = createProgram ( "mission" ) ; try { program . setMissionScript ( null ) ; fail ( "Expecting exception since argument is null" ) ; } catch ( NullPointerException e ) { } }
Test the setting of a mission script to null causing an error.
Test the setting of a mission script to null causing an error .
//create program //set the mission script object