mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/ccomm/link/TestLinkLayerImpl.java
@Test
    public void testGetDynamicMtu()
    {
        when(m_LinkLayerFactoryInternal.getCapabilities()).thenReturn(m_Caps);
        when(m_Caps.isSetStaticMtu()).thenReturn(false);
        when(m_LinkLayerProxy.getDynamicMtu()).thenReturn(5);
        
        assertThat(m_SUT.getMtu(), is(5));
    }
/**
     * Verify getting the dynamic mtu value.
     */
Verify getting the dynamic mtu value.
Verify getting the dynamic mtu value .
@Test
    public void testGetDynamicMtu()
    {
        when(m_LinkLayerFactoryInternal.getCapabilities()).thenReturn(m_Caps);
        when(m_Caps.isSetStaticMtu()).thenReturn(false);
        when(m_LinkLayerProxy.getDynamicMtu()).thenReturn(5);
        assertThat(m_SUT.getMtu(), is(5));
    }
@ Test public void testGetDynamicMtu ( ) { when ( m_LinkLayerFactoryInternal . getCapabilities ( ) ) . thenReturn ( m_Caps ) ; when ( m_Caps . isSetStaticMtu ( ) ) . thenReturn ( false ) ; when ( m_LinkLayerProxy . getDynamicMtu ( ) ) . thenReturn ( 5 ) ; assertThat ( m_SUT . getMtu ( ) , is ( 5 ) ) ; }
Verify getting the dynamic mtu value.
Verify getting the dynamic mtu value .