mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestAssetSyncableCommandModel.java
@Test
    public void testGetCommandTypeBySyncType()
    {
        //Verify get command type returns appropriate set command type.
        assertThat(m_SUT.getCommandTypeBySyncType(CommandTypeEnum.GET_PAN_TILT_COMMAND), 
                is(CommandTypeEnum.SET_PAN_TILT_COMMAND));
        
        //Verify null is returned for a command that has no set command.
        assertThat(m_SUT.getCommandTypeBySyncType(CommandTypeEnum.DETECT_TARGET_COMMAND), is(nullValue()));
    }
/**
     * Verify that the appropriate set command enumeration is returned for the specified get command enumeration.
     * Verify null is returned if no set command is associated.
     */
Verify that the appropriate set command enumeration is returned for the specified get command enumeration.
Verify null is returned if no set command is associated.
Verify that the appropriate set command enumeration is returned for the specified get command enumeration . Verify null is returned if no set command is associated .
@Test
    public void testGetCommandTypeBySyncType()
    {
        assertThat(m_SUT.getCommandTypeBySyncType(CommandTypeEnum.GET_PAN_TILT_COMMAND), 
                is(CommandTypeEnum.SET_PAN_TILT_COMMAND));
        assertThat(m_SUT.getCommandTypeBySyncType(CommandTypeEnum.DETECT_TARGET_COMMAND), is(nullValue()));
    }
@ Test public void testGetCommandTypeBySyncType ( ) { assertThat ( m_SUT . getCommandTypeBySyncType ( CommandTypeEnum . GET_PAN_TILT_COMMAND ) , is ( CommandTypeEnum . SET_PAN_TILT_COMMAND ) ) ; assertThat ( m_SUT . getCommandTypeBySyncType ( CommandTypeEnum . DETECT_TARGET_COMMAND ) , is ( nullValue ( ) ) ) ; }
Verify that the appropriate set command enumeration is returned for the specified get command enumeration.
Verify that the appropriate set command enumeration is returned for the specified get command enumeration .
//Verify get command type returns appropriate set command type. //Verify null is returned for a command that has no set command.