mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestSelectedCommsHelper.java
@Test
    public void testRemoveStackWithRemoveStackNull()
    {
        m_SUT.setRemoveStack(null);
        
        m_SUT.sendRemoveStackRequest(123);
        
        verify(m_MessageFactory, never()).createTransportLayerMessage(eq(TransportLayerMessageType.
                DeleteRequest), Mockito.any(Message.class));
        verify(m_MessageWrapper, never()).queue(Mockito.anyInt(), (ResponseHandler) eq(null));
        
        verify(m_MessageFactory, never()).createLinkLayerMessage(eq(LinkLayerMessageType.DeleteRequest), 
                Mockito.any(Message.class));
        verify(m_MessageWrapper, never()).queue(Mockito.anyInt(), (ResponseHandler) eq(null));
    }
/**
     * Verify that with no stack to remove set there are no remote messages produced/sent.
     */
Verify that with no stack to remove set there are no remote messages produced/sent.
Verify that with no stack to remove set there are no remote messages produced / sent .
@Test
    public void testRemoveStackWithRemoveStackNull()
    {
        m_SUT.setRemoveStack(null);
        m_SUT.sendRemoveStackRequest(123);
        verify(m_MessageFactory, never()).createTransportLayerMessage(eq(TransportLayerMessageType.
                DeleteRequest), Mockito.any(Message.class));
        verify(m_MessageWrapper, never()).queue(Mockito.anyInt(), (ResponseHandler) eq(null));
        verify(m_MessageFactory, never()).createLinkLayerMessage(eq(LinkLayerMessageType.DeleteRequest), 
                Mockito.any(Message.class));
        verify(m_MessageWrapper, never()).queue(Mockito.anyInt(), (ResponseHandler) eq(null));
    }
@ Test public void testRemoveStackWithRemoveStackNull ( ) { m_SUT . setRemoveStack ( null ) ; m_SUT . sendRemoveStackRequest ( 123 ) ; verify ( m_MessageFactory , never ( ) ) . createTransportLayerMessage ( eq ( TransportLayerMessageType . DeleteRequest ) , Mockito . any ( Message . class ) ) ; verify ( m_MessageWrapper , never ( ) ) . queue ( Mockito . anyInt ( ) , ( ResponseHandler ) eq ( null ) ) ; verify ( m_MessageFactory , never ( ) ) . createLinkLayerMessage ( eq ( LinkLayerMessageType . DeleteRequest ) , Mockito . any ( Message . class ) ) ; verify ( m_MessageWrapper , never ( ) ) . queue ( Mockito . anyInt ( ) , ( ResponseHandler ) eq ( null ) ) ; }
Verify that with no stack to remove set there are no remote messages produced/sent.
Verify that with no stack to remove set there are no remote messages produced / sent .