mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestAssetGetCommandModel.java
@Test
    public void testGetCommandGetResponseByType()
    {
        List<CommandTypeEnum> types = new ArrayList<CommandTypeEnum>();
        types.add(CommandTypeEnum.GET_VERSION_COMMAND);
        
        m_SUT = new AssetGetCommandModel(m_Uuid, types);
        
        AssetGetCommandResponse commandResponse = m_SUT.getCommandResponseByType(CommandTypeEnum.GET_VERSION_COMMAND);
        assertThat(commandResponse, notNullValue());
    }
/*
     * Verify that a command response can be retrieved by the given type.
     */
Verify that a command response can be retrieved by the given type.
Verify that a command response can be retrieved by the given type .
@Test
    public void testGetCommandGetResponseByType()
    {
        List<CommandTypeEnum> types = new ArrayList<CommandTypeEnum>();
        types.add(CommandTypeEnum.GET_VERSION_COMMAND);
        m_SUT = new AssetGetCommandModel(m_Uuid, types);
        AssetGetCommandResponse commandResponse = m_SUT.getCommandResponseByType(CommandTypeEnum.GET_VERSION_COMMAND);
        assertThat(commandResponse, notNullValue());
    }
@ Test public void testGetCommandGetResponseByType ( ) { List < CommandTypeEnum > types = new ArrayList < CommandTypeEnum > ( ) ; types . add ( CommandTypeEnum . GET_VERSION_COMMAND ) ; m_SUT = new AssetGetCommandModel ( m_Uuid , types ) ; AssetGetCommandResponse commandResponse = m_SUT . getCommandResponseByType ( CommandTypeEnum . GET_VERSION_COMMAND ) ; assertThat ( commandResponse , notNullValue ( ) ) ; }
Verify that a command response can be retrieved by the given type.
Verify that a command response can be retrieved by the given type .