mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestSelectedAssetImpl.java
@Test
    public void testSetAssetModel()
    {
        AssetModel asset = mock(AssetModel.class);
        m_SUT.setSelectedAssetForDialog(asset);
       
        assertThat(m_SUT.getSelectedAssetForDialog(), is((AbstractFactoryBaseModel)asset));
    }
/**
     * Test setting an asset model.
     * Verify the correct asset is sent when getting the asset model.
     */
Test setting an asset model.
Verify the correct asset is sent when getting the asset model.
Test setting an asset model . Verify the correct asset is sent when getting the asset model .
@Test
    public void testSetAssetModel()
    {
        AssetModel asset = mock(AssetModel.class);
        m_SUT.setSelectedAssetForDialog(asset);
        assertThat(m_SUT.getSelectedAssetForDialog(), is((AbstractFactoryBaseModel)asset));
    }
@ Test public void testSetAssetModel ( ) { AssetModel asset = mock ( AssetModel . class ) ; m_SUT . setSelectedAssetForDialog ( asset ) ; assertThat ( m_SUT . getSelectedAssetForDialog ( ) , is ( ( AbstractFactoryBaseModel ) asset ) ) ; }
Test setting an asset model.
Test setting an asset model .