mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/controller/TestControllerModel.java
@Test
    public void testGetSetOperatingMode()
    {
        assertThat(m_SUT.getOperatingMode(), is(nullValue()));
        
        m_SUT.setOperatingMode(OperationMode.TEST_MODE);
        assertThat(m_SUT.getOperatingMode(), is(OperationMode.TEST_MODE));
        
        m_SUT.setOperatingMode(OperationMode.OPERATIONAL_MODE);
        assertThat(m_SUT.getOperatingMode(), is(OperationMode.OPERATIONAL_MODE));
    }
/**
     * Verify operational mode is set.
     * Verify correct operational mode is returned. 
     */
Verify operational mode is set.
Verify correct operational mode is returned.
Verify operational mode is set . Verify correct operational mode is returned .
@Test
    public void testGetSetOperatingMode()
    {
        assertThat(m_SUT.getOperatingMode(), is(nullValue()));
        m_SUT.setOperatingMode(OperationMode.TEST_MODE);
        assertThat(m_SUT.getOperatingMode(), is(OperationMode.TEST_MODE));
        m_SUT.setOperatingMode(OperationMode.OPERATIONAL_MODE);
        assertThat(m_SUT.getOperatingMode(), is(OperationMode.OPERATIONAL_MODE));
    }
@ Test public void testGetSetOperatingMode ( ) { assertThat ( m_SUT . getOperatingMode ( ) , is ( nullValue ( ) ) ) ; m_SUT . setOperatingMode ( OperationMode . TEST_MODE ) ; assertThat ( m_SUT . getOperatingMode ( ) , is ( OperationMode . TEST_MODE ) ) ; m_SUT . setOperatingMode ( OperationMode . OPERATIONAL_MODE ) ; assertThat ( m_SUT . getOperatingMode ( ) , is ( OperationMode . OPERATIONAL_MODE ) ) ; }
Verify operational mode is set.
Verify operational mode is set .