mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestAddAssetDialogHelperImpl.java
@Test
    public void testSetNewAssetName()
    {
        //name for asset
        String name = "James";

        //check that no name is set
        assertThat(m_SUT.getNewAssetName(), is(nullValue()));

        //set a name
        m_SUT.setNewAssetName(name);

        //verify
        assertThat(m_SUT.getNewAssetName(), is(name));
    }
/**
     * Test setting the ability for the helper to hold an assets name.
     * 
     * Verify correct name is returned when requested.
     * 
     * 
     */
Test setting the ability for the helper to hold an assets name.

Verify correct name is returned when requested.
Test setting the ability for the helper to hold an assets name . Verify correct name is returned when requested .
@Test
    public void testSetNewAssetName()
    {
        String name = "James";
        assertThat(m_SUT.getNewAssetName(), is(nullValue()));
        m_SUT.setNewAssetName(name);
        assertThat(m_SUT.getNewAssetName(), is(name));
    }
@ Test public void testSetNewAssetName ( ) { String name = "James" ; assertThat ( m_SUT . getNewAssetName ( ) , is ( nullValue ( ) ) ) ; m_SUT . setNewAssetName ( name ) ; assertThat ( m_SUT . getNewAssetName ( ) , is ( name ) ) ; }
Test setting the ability for the helper to hold an assets name.
Test setting the ability for the helper to hold an assets name .
//name for asset //check that no name is set //set a name //verify