mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestCommsLayerBaseModel.java
@Test
    public void testBaseValues()
    {
        //create comms base model
        m_SUT = new CommsLayerBaseModel(0, m_Uuid, COMM_PID, "clazzName",
                CommType.Linklayer, m_FactoryMgr, m_TypesMgr, 
                m_ConfigWrapper, m_CommsImageInterface);
        
        //verify getters values
        assertThat(m_SUT.getName(), is("Unknown (" + m_Uuid + ")"));
        assertThat(m_SUT.getPid(), is(COMM_PID));
        m_SUT.setPid(null);
        assertThat(m_SUT.getPid(), is(""));
        assertThat(m_SUT.getUuid(), is(m_Uuid));
        assertThat(m_SUT.getControllerId(), is(0));
        assertThat(m_SUT.getCommsClazz(), is("clazzName"));
        assertThat(m_SUT.getType(), is(CommType.Linklayer));
    }
/**
     * 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 testBaseValues()
    {
        m_SUT = new CommsLayerBaseModel(0, m_Uuid, COMM_PID, "clazzName",
                CommType.Linklayer, m_FactoryMgr, m_TypesMgr, 
                m_ConfigWrapper, m_CommsImageInterface);
        assertThat(m_SUT.getName(), is("Unknown (" + m_Uuid + ")"));
        assertThat(m_SUT.getPid(), is(COMM_PID));
        m_SUT.setPid(null);
        assertThat(m_SUT.getPid(), is(""));
        assertThat(m_SUT.getUuid(), is(m_Uuid));
        assertThat(m_SUT.getControllerId(), is(0));
        assertThat(m_SUT.getCommsClazz(), is("clazzName"));
        assertThat(m_SUT.getType(), is(CommType.Linklayer));
    }
@ Test public void testBaseValues ( ) { m_SUT = new CommsLayerBaseModel ( 0 , m_Uuid , COMM_PID , "clazzName" , CommType . Linklayer , m_FactoryMgr , m_TypesMgr , m_ConfigWrapper , m_CommsImageInterface ) ; assertThat ( m_SUT . getName ( ) , is ( "Unknown (" + m_Uuid + ")" ) ) ; assertThat ( m_SUT . getPid ( ) , is ( COMM_PID ) ) ; m_SUT . setPid ( null ) ; assertThat ( m_SUT . getPid ( ) , is ( "" ) ) ; assertThat ( m_SUT . getUuid ( ) , is ( m_Uuid ) ) ; assertThat ( m_SUT . getControllerId ( ) , is ( 0 ) ) ; assertThat ( m_SUT . getCommsClazz ( ) , is ( "clazzName" ) ) ; assertThat ( m_SUT . getType ( ) , is ( CommType . Linklayer ) ) ; }
Test the default/initial values set for a model at creation.
Test the default / initial values set for a model at creation .
//create comms base model //verify getters values