mil.dod.th.remote.client/test/mil/dod/th/remote/client/generate/impl/TestEventRegistrationBuilderImpl.java
@Test
    public void testBuildNoCanQueueEvent()
    {
        m_SUT.setExpirationTimeHours(200).setTopics("testtopic1", "testtopic2");

        try
        {
            m_SUT.build();
            fail("build should throw UninitializedMessageException");
        }
        catch (UninitializedMessageException e)
        {
            // Expected
        }
    }
/**
     * Verify that exception is thrown if {@link EventRegistrationBuilderImpl#setCanQueueEvent(boolean)} is not called.
     */
Verify that exception is thrown if  EventRegistrationBuilderImpl#setCanQueueEvent(boolean) is not called.
Verify that exception is thrown if EventRegistrationBuilderImpl#setCanQueueEvent ( boolean ) is not called .
@Test
    public void testBuildNoCanQueueEvent()
    {
        m_SUT.setExpirationTimeHours(200).setTopics("testtopic1", "testtopic2");
        try
        {
            m_SUT.build();
            fail("build should throw UninitializedMessageException");
        }
        catch (UninitializedMessageException e)
        {
        }
    }
@ Test public void testBuildNoCanQueueEvent ( ) { m_SUT . setExpirationTimeHours ( 200 ) . setTopics ( "testtopic1" , "testtopic2" ) ; try { m_SUT . build ( ) ; fail ( "build should throw UninitializedMessageException" ) ; } catch ( UninitializedMessageException e ) { } }
Verify that exception is thrown if {@link EventRegistrationBuilderImpl#setCanQueueEvent(boolean)} is not called.
Verify that exception is thrown if { @link EventRegistrationBuilderImpl#setCanQueueEvent ( boolean ) } is not called .
// Expected