mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestCommsStackCreationModel.java
@Test
    public void testGetSetSelectedPhysicalType()
    {
        //check that no type is set
        assertThat(m_SUT.getSelectedPhysicalType(), is(nullValue()));

        //set a type
        m_SUT.setSelectedPhysicalType(PhysicalLinkTypeEnum.GPIO);

        //verify
        assertThat(m_SUT.getSelectedPhysicalType(), is(PhysicalLinkTypeEnum.GPIO));     
    }
/**
     * Test setting the ability for the model to set and get selected physical layer type.
     * Verify correct type is returned when requested.
     */
Test setting the ability for the model to set and get selected physical layer type.
Verify correct type is returned when requested.
Test setting the ability for the model to set and get selected physical layer type . Verify correct type is returned when requested .
@Test
    public void testGetSetSelectedPhysicalType()
    {
        assertThat(m_SUT.getSelectedPhysicalType(), is(nullValue()));
        m_SUT.setSelectedPhysicalType(PhysicalLinkTypeEnum.GPIO);
        assertThat(m_SUT.getSelectedPhysicalType(), is(PhysicalLinkTypeEnum.GPIO));     
    }
@ Test public void testGetSetSelectedPhysicalType ( ) { assertThat ( m_SUT . getSelectedPhysicalType ( ) , is ( nullValue ( ) ) ) ; m_SUT . setSelectedPhysicalType ( PhysicalLinkTypeEnum . GPIO ) ; assertThat ( m_SUT . getSelectedPhysicalType ( ) , is ( PhysicalLinkTypeEnum . GPIO ) ) ; }
Test setting the ability for the model to set and get selected physical layer type.
Test setting the ability for the model to set and get selected physical layer type .
//check that no type is set //set a type //verify