mil.dod.th.remote.client/test/mil/dod/th/remote/client/impl/TestMessageListenerServiceImpl.java
@Test
    public void testAddRemoteChannelInvalidStream()
    {
        try
        {
            m_SUT.addRemoteChannel(SRC_ID, null, m_ChannelCallback);
            fail("addRemoteChannel should throw IllegalArgumentException");
        }
        catch (IllegalArgumentException e)
        {
            // Expected
        }
    }
/**
     * Verify that remote channel cannot be added with a null input stream.
     */
Verify that remote channel cannot be added with a null input stream.
Verify that remote channel cannot be added with a null input stream .
@Test
    public void testAddRemoteChannelInvalidStream()
    {
        try
        {
            m_SUT.addRemoteChannel(SRC_ID, null, m_ChannelCallback);
            fail("addRemoteChannel should throw IllegalArgumentException");
        }
        catch (IllegalArgumentException e)
        {
        }
    }
@ Test public void testAddRemoteChannelInvalidStream ( ) { try { m_SUT . addRemoteChannel ( SRC_ID , null , m_ChannelCallback ) ; fail ( "addRemoteChannel should throw IllegalArgumentException" ) ; } catch ( IllegalArgumentException e ) { } }
Verify that remote channel cannot be added with a null input stream.
Verify that remote channel cannot be added with a null input stream .
// Expected