mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/comms/TestCommsLayerTypesMgrImpl.java
@Test
    public void testRequestLayerTypesUpdate()
    {
        m_SUT.requestLayerTypesUpdate(123);

        //verify that handler will send get available comms type request
        verify(m_MessageFactory, times(3)).createCustomCommsMessage(
                eq(CustomCommsMessageType.GetAvailableCommTypesRequest), Mockito.any(Message.class));
        verify(m_MessageWrapper, times(3)).queue(eq(systemId1), Mockito.any(ResponseHandler.class));
    }
/**
     * Test the request for layer types types.
     * Verify message sent.
     */
Test the request for layer types types.
Verify message sent.
Test the request for layer types types . Verify message sent .
@Test
    public void testRequestLayerTypesUpdate()
    {
        m_SUT.requestLayerTypesUpdate(123);
        verify(m_MessageFactory, times(3)).createCustomCommsMessage(
                eq(CustomCommsMessageType.GetAvailableCommTypesRequest), Mockito.any(Message.class));
        verify(m_MessageWrapper, times(3)).queue(eq(systemId1), Mockito.any(ResponseHandler.class));
    }
@ Test public void testRequestLayerTypesUpdate ( ) { m_SUT . requestLayerTypesUpdate ( 123 ) ; verify ( m_MessageFactory , times ( 3 ) ) . createCustomCommsMessage ( eq ( CustomCommsMessageType . GetAvailableCommTypesRequest ) , Mockito . any ( Message . class ) ) ; verify ( m_MessageWrapper , times ( 3 ) ) . queue ( eq ( systemId1 ) , Mockito . any ( ResponseHandler . class ) ) ; }
Test the request for layer types types.
Test the request for layer types types .
//verify that handler will send get available comms type request