mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/mp/TestProgramImpl.java
@Test
    public void testGetExecutionParams()
    {
        //program
        MissionProgramSchedule schedule = createMissionSchedule(0L, 0L, false, true, true, false);
        MissionProgramTemplate programMission = new MissionProgramTemplate().withVendor("hello").
            withSupportTestExecution(true);
        programMission.setName("jaja");
        programMission.setSource("TheSourceIsHere");
        programMission.setPrimaryImage(new DigitalMedia().withEncoding("Hieroglyphics"));
        Program program = new ProgramImpl(m_Manager, m_EventAdmin, programMission, new MissionProgramParameters().
             withParameters(new MapEntry().withKey("asset").withValue("asset")).
             withSchedule(schedule).
             withProgramName("jaja"), UUID.randomUUID());
        
        assertThat(program.getExecutionParameters(), hasEntry("asset", (Object)"asset"));
    }
/**
     * Test getting a program' execution parameters returns a manageable version of those parameters.
     */
Test getting a program' execution parameters returns a manageable version of those parameters.
Test getting a program ' execution parameters returns a manageable version of those parameters .
@Test
    public void testGetExecutionParams()
    {
        MissionProgramSchedule schedule = createMissionSchedule(0L, 0L, false, true, true, false);
        MissionProgramTemplate programMission = new MissionProgramTemplate().withVendor("hello").
            withSupportTestExecution(true);
        programMission.setName("jaja");
        programMission.setSource("TheSourceIsHere");
        programMission.setPrimaryImage(new DigitalMedia().withEncoding("Hieroglyphics"));
        Program program = new ProgramImpl(m_Manager, m_EventAdmin, programMission, new MissionProgramParameters().
             withParameters(new MapEntry().withKey("asset").withValue("asset")).
             withSchedule(schedule).
             withProgramName("jaja"), UUID.randomUUID());
        assertThat(program.getExecutionParameters(), hasEntry("asset", (Object)"asset"));
    }
@ Test public void testGetExecutionParams ( ) { MissionProgramSchedule schedule = createMissionSchedule ( 0L , 0L , false , true , true , false ) ; MissionProgramTemplate programMission = new MissionProgramTemplate ( ) . withVendor ( "hello" ) . withSupportTestExecution ( true ) ; programMission . setName ( "jaja" ) ; programMission . setSource ( "TheSourceIsHere" ) ; programMission . setPrimaryImage ( new DigitalMedia ( ) . withEncoding ( "Hieroglyphics" ) ) ; Program program = new ProgramImpl ( m_Manager , m_EventAdmin , programMission , new MissionProgramParameters ( ) . withParameters ( new MapEntry ( ) . withKey ( "asset" ) . withValue ( "asset" ) ) . withSchedule ( schedule ) . withProgramName ( "jaja" ) , UUID . randomUUID ( ) ) ; assertThat ( program . getExecutionParameters ( ) , hasEntry ( "asset" , ( Object ) "asset" ) ) ; }
Test getting a program' execution parameters returns a manageable version of those parameters.
Test getting a program ' execution parameters returns a manageable version of those parameters .
//program