mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/mp/TestProgramImpl.java
@Test
    public void testSetTestResult()
    {
        //program
        ProgramImpl program = createProgram("baaa");
        
        assertThat(program.getLastTestResult(), is(nullValue()));
        
        //set the result
        program.setTestResults(TestResult.PASSED);
        
        //verify the value was set
        assertThat(program.getLastTestResult(), is(TestResult.PASSED));
    }
/**
     * Test setting a mission's test results.
     */
Test setting a mission's test results.
Test setting a mission ' s test results .
@Test
    public void testSetTestResult()
    {
        ProgramImpl program = createProgram("baaa");
        assertThat(program.getLastTestResult(), is(nullValue()));
        program.setTestResults(TestResult.PASSED);
        assertThat(program.getLastTestResult(), is(TestResult.PASSED));
    }
@ Test public void testSetTestResult ( ) { ProgramImpl program = createProgram ( "baaa" ) ; assertThat ( program . getLastTestResult ( ) , is ( nullValue ( ) ) ) ; program . setTestResults ( TestResult . PASSED ) ; assertThat ( program . getLastTestResult ( ) , is ( TestResult . PASSED ) ) ; }
Test setting a mission's test results.
Test setting a mission ' s test results .
//program //set the result //verify the value was set