mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/objectconverter/TestCommandConverterImpl.java
@Test
    public void testCommandResponseEnumeration()
    {
        CommandResponseEnum responseTiltEnum = m_SUT
                .getResponseTypeFromCommandType(CommandTypeEnum.GET_PAN_TILT_COMMAND);
        assertThat(responseTiltEnum, is(CommandResponseEnum.GET_PAN_TILT_RESPONSE));
        
        CommandResponseEnum responseTargetEnum = m_SUT
                .getResponseTypeFromCommandType(CommandTypeEnum.DETECT_TARGET_COMMAND);
        assertThat(responseTargetEnum, is(CommandResponseEnum.DETECT_TARGET_RESPONSE));
    }
/**
     * Verify proper command response enum is returned for a specified command type enum.
     */
Verify proper command response enum is returned for a specified command type enum.
Verify proper command response enum is returned for a specified command type enum .
@Test
    public void testCommandResponseEnumeration()
    {
        CommandResponseEnum responseTiltEnum = m_SUT
                .getResponseTypeFromCommandType(CommandTypeEnum.GET_PAN_TILT_COMMAND);
        assertThat(responseTiltEnum, is(CommandResponseEnum.GET_PAN_TILT_RESPONSE));
        CommandResponseEnum responseTargetEnum = m_SUT
                .getResponseTypeFromCommandType(CommandTypeEnum.DETECT_TARGET_COMMAND);
        assertThat(responseTargetEnum, is(CommandResponseEnum.DETECT_TARGET_RESPONSE));
    }
@ Test public void testCommandResponseEnumeration ( ) { CommandResponseEnum responseTiltEnum = m_SUT . getResponseTypeFromCommandType ( CommandTypeEnum . GET_PAN_TILT_COMMAND ) ; assertThat ( responseTiltEnum , is ( CommandResponseEnum . GET_PAN_TILT_RESPONSE ) ) ; CommandResponseEnum responseTargetEnum = m_SUT . getResponseTypeFromCommandType ( CommandTypeEnum . DETECT_TARGET_COMMAND ) ; assertThat ( responseTargetEnum , is ( CommandResponseEnum . DETECT_TARGET_RESPONSE ) ) ; }
Verify proper command response enum is returned for a specified command type enum.
Verify proper command response enum is returned for a specified command type enum .