mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/ccomm/link/TestLinkLayerImpl.java
@Test
    public void testGetStaticMtu()
    {
        when(m_LinkLayerFactoryInternal.getCapabilities()).thenReturn(m_Caps);
        when(m_Caps.isStaticMtu()).thenReturn(true);
        when(m_Caps.getMtu()).thenReturn(2);
        
        assertThat(m_SUT.getMtu(), is(2));
    }
/**
     * Verify getting the static mtu value.
     */
Verify getting the static mtu value.
Verify getting the static mtu value .
@Test
    public void testGetStaticMtu()
    {
        when(m_LinkLayerFactoryInternal.getCapabilities()).thenReturn(m_Caps);
        when(m_Caps.isStaticMtu()).thenReturn(true);
        when(m_Caps.getMtu()).thenReturn(2);
        assertThat(m_SUT.getMtu(), is(2));
    }
@ Test public void testGetStaticMtu ( ) { when ( m_LinkLayerFactoryInternal . getCapabilities ( ) ) . thenReturn ( m_Caps ) ; when ( m_Caps . isStaticMtu ( ) ) . thenReturn ( true ) ; when ( m_Caps . getMtu ( ) ) . thenReturn ( 2 ) ; assertThat ( m_SUT . getMtu ( ) , is ( 2 ) ) ; }
Verify getting the static mtu value.
Verify getting the static mtu value .