mil.dod.th.remote.client/test/mil/dod/th/remote/client/impl/TestMessageListenerServiceImpl.java
@Test
    public void testRegisterNullCallback()
    {
        try
        {
            m_SUT.registerCallback(Namespace.Base, null);
            fail("unregisterCallback should throw IllegalArgumentException");
        }
        catch (IllegalArgumentException e)
        {
            // Expected
        }
    }
/**
     * Verify that a null message callback throws exception when trying to unregister.
     */
Verify that a null message callback throws exception when trying to unregister.
Verify that a null message callback throws exception when trying to unregister .
@Test
    public void testRegisterNullCallback()
    {
        try
        {
            m_SUT.registerCallback(Namespace.Base, null);
            fail("unregisterCallback should throw IllegalArgumentException");
        }
        catch (IllegalArgumentException e)
        {
        }
    }
@ Test public void testRegisterNullCallback ( ) { try { m_SUT . registerCallback ( Namespace . Base , null ) ; fail ( "unregisterCallback should throw IllegalArgumentException" ) ; } catch ( IllegalArgumentException e ) { } }
Verify that a null message callback throws exception when trying to unregister.
Verify that a null message callback throws exception when trying to unregister .
// Expected