mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestAssetSyncableCommandModel.java
@Test
    public void testGetCommandSyncTypeByType()
    {
        //Verify set command type returns appropriate get command type.
        assertThat(m_SUT.getCommandSyncTypeByType(CommandTypeEnum.SET_PAN_TILT_COMMAND), 
                is(CommandTypeEnum.GET_PAN_TILT_COMMAND));
        
        //Verify one way command returns no associated get command.
        assertThat(m_SUT.getCommandSyncTypeByType(CommandTypeEnum.DETECT_TARGET_COMMAND), is(nullValue()));
        
        //Verify that set tune settings command has no associated get command. This is a special case that
        //is handled by the constructor.
        assertThat(m_SUT.getCommandSyncTypeByType(CommandTypeEnum.SET_TUNE_SETTINGS_COMMAND), is(nullValue()));

        //Verify that set lift command has no associated get command. This is a special case that
        //is handled by the constructor.
        assertThat(m_SUT.getCommandSyncTypeByType(CommandTypeEnum.SET_LIFT_COMMAND), is(nullValue()));
    }
/**
     * Verify that the appropriate get command enumeration is returned for the specified set command enumeration or 
     * that null is returned a command with no associated get command.
     */
Verify that the appropriate get command enumeration is returned for the specified set command enumeration or
that null is returned a command with no associated get command.
Verify that the appropriate get command enumeration is returned for the specified set command enumeration or that null is returned a command with no associated get command .
@Test
    public void testGetCommandSyncTypeByType()
    {
        assertThat(m_SUT.getCommandSyncTypeByType(CommandTypeEnum.SET_PAN_TILT_COMMAND), 
                is(CommandTypeEnum.GET_PAN_TILT_COMMAND));
        assertThat(m_SUT.getCommandSyncTypeByType(CommandTypeEnum.DETECT_TARGET_COMMAND), is(nullValue()));
        assertThat(m_SUT.getCommandSyncTypeByType(CommandTypeEnum.SET_TUNE_SETTINGS_COMMAND), is(nullValue()));
        assertThat(m_SUT.getCommandSyncTypeByType(CommandTypeEnum.SET_LIFT_COMMAND), is(nullValue()));
    }
@ Test public void testGetCommandSyncTypeByType ( ) { assertThat ( m_SUT . getCommandSyncTypeByType ( CommandTypeEnum . SET_PAN_TILT_COMMAND ) , is ( CommandTypeEnum . GET_PAN_TILT_COMMAND ) ) ; assertThat ( m_SUT . getCommandSyncTypeByType ( CommandTypeEnum . DETECT_TARGET_COMMAND ) , is ( nullValue ( ) ) ) ; assertThat ( m_SUT . getCommandSyncTypeByType ( CommandTypeEnum . SET_TUNE_SETTINGS_COMMAND ) , is ( nullValue ( ) ) ) ; assertThat ( m_SUT . getCommandSyncTypeByType ( CommandTypeEnum . SET_LIFT_COMMAND ) , is ( nullValue ( ) ) ) ; }
Verify that the appropriate get command enumeration is returned for the specified set command enumeration or
 that null is returned a command with no associated get command.
Verify that the appropriate get command enumeration is returned for the specified set command enumeration or that null is returned a command with no associated get command .
//Verify set command type returns appropriate get command type. //Verify one way command returns no associated get command. //Verify that set tune settings command has no associated get command. This is a special case that //is handled by the constructor. //Verify that set lift command has no associated get command. This is a special case that //is handled by the constructor.