mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/controller/TestControllerModel.java
@Test
    public void testGetOperatingModeDisplayText()
    {
        m_SUT.setOperatingMode(OperationMode.TEST_MODE);
        assertThat(m_SUT.getOperatingModeDisplayText(), is("TEST MODE"));
        
        m_SUT.setOperatingMode(OperationMode.OPERATIONAL_MODE);
        assertThat(m_SUT.getOperatingModeDisplayText(), is("OPERATIONAL MODE"));
    }
/**
     * Verify that the proper display text is returned based on the current operating mode.
     */
Verify that the proper display text is returned based on the current operating mode.
Verify that the proper display text is returned based on the current operating mode .
@Test
    public void testGetOperatingModeDisplayText()
    {
        m_SUT.setOperatingMode(OperationMode.TEST_MODE);
        assertThat(m_SUT.getOperatingModeDisplayText(), is("TEST MODE"));
        m_SUT.setOperatingMode(OperationMode.OPERATIONAL_MODE);
        assertThat(m_SUT.getOperatingModeDisplayText(), is("OPERATIONAL MODE"));
    }
@ Test public void testGetOperatingModeDisplayText ( ) { m_SUT . setOperatingMode ( OperationMode . TEST_MODE ) ; assertThat ( m_SUT . getOperatingModeDisplayText ( ) , is ( "TEST MODE" ) ) ; m_SUT . setOperatingMode ( OperationMode . OPERATIONAL_MODE ) ; assertThat ( m_SUT . getOperatingModeDisplayText ( ) , is ( "OPERATIONAL MODE" ) ) ; }
Verify that the proper display text is returned based on the current operating mode.
Verify that the proper display text is returned based on the current operating mode .