mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/transport/TestTransportChannelImpl.java
@Test
    public void testGetQueuedMessageCount() throws CCommException
    {
        // must activate to setup queue
        activateChannel(false, true, null);
        
        when(m_MessageSender.getQueuedMessageCount()).thenReturn(100);
        
        assertThat(m_SUT.getQueuedMessageCount(), is(100));
    }
/**
     * Verify count is returned from queue.
     */
Verify count is returned from queue.
Verify count is returned from queue .
@Test
    public void testGetQueuedMessageCount() throws CCommException
    {
        activateChannel(false, true, null);
        when(m_MessageSender.getQueuedMessageCount()).thenReturn(100);
        assertThat(m_SUT.getQueuedMessageCount(), is(100));
    }
@ Test public void testGetQueuedMessageCount ( ) throws CCommException { activateChannel ( false , true , null ) ; when ( m_MessageSender . getQueuedMessageCount ( ) ) . thenReturn ( 100 ) ; assertThat ( m_SUT . getQueuedMessageCount ( ) , is ( 100 ) ) ; }
Verify count is returned from queue.
Verify count is returned from queue .
// must activate to setup queue