mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestSelectedCommsHelper.java
@Test
    public void testGettersAndSetters()
    {
        assertThat(m_SUT.getSelectedComms(), is(nullValue()));
        
        CommsStackModelImpl model = new CommsStackModelImpl(m_CommsImageInterface);
        model.setPhysical(new CommsLayerBaseModel(0, uuid, pid, "clazz", CommType.PhysicalLink, 
                m_FactoryMgr, m_TypesMgr, m_ConfigWrapper, m_CommsImageInterface));
        m_SUT.setSelectedComms(model);
        
        assertThat(m_SUT.getSelectedComms().getPhysical(), is(model.getPhysical()));  
        
        m_SUT.unSetSelectedComms();
        assertThat(m_SUT.getSelectedComms(), is(nullValue()));        
    }
/**
     * Test the default/initial values set for the selected model at creation.
     * 
     * Verify that all values are returned as documented.
     */
Test the default/initial values set for the selected model at creation.

Verify that all values are returned as documented.
Test the default / initial values set for the selected model at creation . Verify that all values are returned as documented .
@Test
    public void testGettersAndSetters()
    {
        assertThat(m_SUT.getSelectedComms(), is(nullValue()));
        CommsStackModelImpl model = new CommsStackModelImpl(m_CommsImageInterface);
        model.setPhysical(new CommsLayerBaseModel(0, uuid, pid, "clazz", CommType.PhysicalLink, 
                m_FactoryMgr, m_TypesMgr, m_ConfigWrapper, m_CommsImageInterface));
        m_SUT.setSelectedComms(model);
        assertThat(m_SUT.getSelectedComms().getPhysical(), is(model.getPhysical()));  
        m_SUT.unSetSelectedComms();
        assertThat(m_SUT.getSelectedComms(), is(nullValue()));        
    }
@ Test public void testGettersAndSetters ( ) { assertThat ( m_SUT . getSelectedComms ( ) , is ( nullValue ( ) ) ) ; CommsStackModelImpl model = new CommsStackModelImpl ( m_CommsImageInterface ) ; model . setPhysical ( new CommsLayerBaseModel ( 0 , uuid , pid , "clazz" , CommType . PhysicalLink , m_FactoryMgr , m_TypesMgr , m_ConfigWrapper , m_CommsImageInterface ) ) ; m_SUT . setSelectedComms ( model ) ; assertThat ( m_SUT . getSelectedComms ( ) . getPhysical ( ) , is ( model . getPhysical ( ) ) ) ; m_SUT . unSetSelectedComms ( ) ; assertThat ( m_SUT . getSelectedComms ( ) , is ( nullValue ( ) ) ) ; }
Test the default/initial values set for the selected model at creation.
Test the default / initial values set for the selected model at creation .