mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestCommsStackCreationModel.java
@Test
    public void testGetSetSelectedTransportLayer()
    {
        //type of layer
        String type = "transportlayer.type";

        //check that no type is set
        assertThat(m_SUT.getSelectedTransportLayerType(), is(nullValue()));

        //set a type
        m_SUT.setSelectedTransportLayerType(type);

        //verify
        assertThat(m_SUT.getSelectedTransportLayerType(), is(type));
    }
/**
     * Test setting the ability for the model to set and get selected transport layer.
     * Verify correct type is returned when requested.
     */
Test setting the ability for the model to set and get selected transport layer.
Verify correct type is returned when requested.
Test setting the ability for the model to set and get selected transport layer . Verify correct type is returned when requested .
@Test
    public void testGetSetSelectedTransportLayer()
    {
        String type = "transportlayer.type";
        assertThat(m_SUT.getSelectedTransportLayerType(), is(nullValue()));
        m_SUT.setSelectedTransportLayerType(type);
        assertThat(m_SUT.getSelectedTransportLayerType(), is(type));
    }
@ Test public void testGetSetSelectedTransportLayer ( ) { String type = "transportlayer.type" ; assertThat ( m_SUT . getSelectedTransportLayerType ( ) , is ( nullValue ( ) ) ) ; m_SUT . setSelectedTransportLayerType ( type ) ; assertThat ( m_SUT . getSelectedTransportLayerType ( ) , is ( type ) ) ; }
Test setting the ability for the model to set and get selected transport layer.
Test setting the ability for the model to set and get selected transport layer .
//type of layer //check that no type is set //set a type //verify