mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/messaging/TestMessageWrapperImpl.java
@Test
    public void testQueueChannelNoEncryptType()
    {  
        //sender behavior
        when(m_MessageSender.queueMessage(m_Channel, m_Payload, null)).thenReturn(false);
        
        boolean result = m_SUT.queue(m_Channel, null);
        
        //verify
        verify(m_MessageSender).queueMessage(m_Channel, m_Payload, null);
        assertThat(result, is(false));
    }
/**
     * Verify that correct information is sent to the message sender service when 'queue' is called.
     * Verify that the encryption type not being present does not cause an error.
     */
Verify that correct information is sent to the message sender service when 'queue' is called.
Verify that the encryption type not being present does not cause an error.
Verify that correct information is sent to the message sender service when ' queue ' is called . Verify that the encryption type not being present does not cause an error .
@Test
    public void testQueueChannelNoEncryptType()
    {  
        when(m_MessageSender.queueMessage(m_Channel, m_Payload, null)).thenReturn(false);
        boolean result = m_SUT.queue(m_Channel, null);
        verify(m_MessageSender).queueMessage(m_Channel, m_Payload, null);
        assertThat(result, is(false));
    }
@ Test public void testQueueChannelNoEncryptType ( ) { when ( m_MessageSender . queueMessage ( m_Channel , m_Payload , null ) ) . thenReturn ( false ) ; boolean result = m_SUT . queue ( m_Channel , null ) ; verify ( m_MessageSender ) . queueMessage ( m_Channel , m_Payload , null ) ; assertThat ( result , is ( false ) ) ; }
Verify that correct information is sent to the message sender service when 'queue' is called.
Verify that correct information is sent to the message sender service when ' queue ' is called .
//sender behavior //verify