mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestCommsStackModel.java
@Test
    public void testDefaultValues()
    {
        //create comms stack model
        CommsStackModelImpl model = new CommsStackModelImpl(m_CommsImageInterface);

        //verify default values
        assertThat(model.getCommsTopLayerName(), is(""));
        assertThat(model.getLink(), is(nullValue()));
        assertThat(model.getPhysical(), is(nullValue()));
        assertThat(model.getTransport(), is(nullValue()));
        assertThat(model.isComplete(), is(false));
        assertThat(model.getStackLayers().size(), is(0));
    }
/**
     * Test the default/initial values set for a model at creation.
     * 
     * Verify that all values are returned as documented.
     */
Test the default/initial values set for a model at creation.

Verify that all values are returned as documented.
Test the default / initial values set for a model at creation . Verify that all values are returned as documented .
@Test
    public void testDefaultValues()
    {
        CommsStackModelImpl model = new CommsStackModelImpl(m_CommsImageInterface);
        assertThat(model.getCommsTopLayerName(), is(""));
        assertThat(model.getLink(), is(nullValue()));
        assertThat(model.getPhysical(), is(nullValue()));
        assertThat(model.getTransport(), is(nullValue()));
        assertThat(model.isComplete(), is(false));
        assertThat(model.getStackLayers().size(), is(0));
    }
@ Test public void testDefaultValues ( ) { CommsStackModelImpl model = new CommsStackModelImpl ( m_CommsImageInterface ) ; assertThat ( model . getCommsTopLayerName ( ) , is ( "" ) ) ; assertThat ( model . getLink ( ) , is ( nullValue ( ) ) ) ; assertThat ( model . getPhysical ( ) , is ( nullValue ( ) ) ) ; assertThat ( model . getTransport ( ) , is ( nullValue ( ) ) ) ; assertThat ( model . isComplete ( ) , is ( false ) ) ; assertThat ( model . getStackLayers ( ) . size ( ) , is ( 0 ) ) ; }
Test the default/initial values set for a model at creation.
Test the default / initial values set for a model at creation .
//create comms stack model //verify default values