mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestSelectedCommsHelper.java
@Test
    public void testSendLinkPerformBit()
    {
        CommsLayerLinkModelImpl linky = new CommsLayerLinkModelImpl(123, uuid, pid, pid,
                m_FactoryMgr, m_TypesMgr, m_ConfigWrapper, m_CommsImageInterface);
        m_SUT.sendLinkPerformBitRequest(linky, 123);
        
        verify(m_MessageFactory).createLinkLayerMessage(eq(LinkLayerMessageType.PerformBITRequest), 
                Mockito.any(Message.class));
        verify(m_MessageWrapper).queue(Mockito.anyInt(), (ResponseHandler) eq(null));        
    }
/**
     * Test send link perform BIT functionality.
     * Verify remote message to perform a BIT on a link is sent.  
     */
Test send link perform BIT functionality.
Verify remote message to perform a BIT on a link is sent.
Test send link perform BIT functionality . Verify remote message to perform a BIT on a link is sent .
@Test
    public void testSendLinkPerformBit()
    {
        CommsLayerLinkModelImpl linky = new CommsLayerLinkModelImpl(123, uuid, pid, pid,
                m_FactoryMgr, m_TypesMgr, m_ConfigWrapper, m_CommsImageInterface);
        m_SUT.sendLinkPerformBitRequest(linky, 123);
        verify(m_MessageFactory).createLinkLayerMessage(eq(LinkLayerMessageType.PerformBITRequest), 
                Mockito.any(Message.class));
        verify(m_MessageWrapper).queue(Mockito.anyInt(), (ResponseHandler) eq(null));        
    }
@ Test public void testSendLinkPerformBit ( ) { CommsLayerLinkModelImpl linky = new CommsLayerLinkModelImpl ( 123 , uuid , pid , pid , m_FactoryMgr , m_TypesMgr , m_ConfigWrapper , m_CommsImageInterface ) ; m_SUT . sendLinkPerformBitRequest ( linky , 123 ) ; verify ( m_MessageFactory ) . createLinkLayerMessage ( eq ( LinkLayerMessageType . PerformBITRequest ) , Mockito . any ( Message . class ) ) ; verify ( m_MessageWrapper ) . queue ( Mockito . anyInt ( ) , ( ResponseHandler ) eq ( null ) ) ; }
Test send link perform BIT functionality.
Test send link perform BIT functionality .