mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/ccomm/link/TestLinkLayerImpl.java
@Test
    public void testLinkStatus()
    {
        m_SUT.setStatus(LinkStatus.LOST);
        assertThat(m_SUT.getLinkStatus(), is(LinkStatus.LOST));

        m_SUT.setStatus(LinkStatus.OK);
        assertThat(m_SUT.getLinkStatus(), is(LinkStatus.OK));
    }
/** 
     * Test set and get LinkStatus for a link layer.
     */
Test set and get LinkStatus for a link layer.
Test set and get LinkStatus for a link layer .
@Test
    public void testLinkStatus()
    {
        m_SUT.setStatus(LinkStatus.LOST);
        assertThat(m_SUT.getLinkStatus(), is(LinkStatus.LOST));
        m_SUT.setStatus(LinkStatus.OK);
        assertThat(m_SUT.getLinkStatus(), is(LinkStatus.OK));
    }
@ Test public void testLinkStatus ( ) { m_SUT . setStatus ( LinkStatus . LOST ) ; assertThat ( m_SUT . getLinkStatus ( ) , is ( LinkStatus . LOST ) ) ; m_SUT . setStatus ( LinkStatus . OK ) ; assertThat ( m_SUT . getLinkStatus ( ) , is ( LinkStatus . OK ) ) ; }
Test set and get LinkStatus for a link layer.
Test set and get LinkStatus for a link layer .