mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/ccomm/TestAddressManagerServiceImpl.java
@Test
    public void testCreateFromDescriptionIncomplete() throws CCommException
    {
        // This should fail, base is registered, but addr is incomplete
        try
        {
            m_SUT.getOrCreateAddress("Base:");
            fail("Expected exception");
        }
        catch(IllegalArgumentException e)
        {
            //expected because the address is not complete
        }
    }
/**
     * Verify creating an address fails if the address is incomplete.
     */
Verify creating an address fails if the address is incomplete.
Verify creating an address fails if the address is incomplete .
@Test
    public void testCreateFromDescriptionIncomplete() throws CCommException
    {
        try
        {
            m_SUT.getOrCreateAddress("Base:");
            fail("Expected exception");
        }
        catch(IllegalArgumentException e)
        {
        }
    }
@ Test public void testCreateFromDescriptionIncomplete ( ) throws CCommException { try { m_SUT . getOrCreateAddress ( "Base:" ) ; fail ( "Expected exception" ) ; } catch ( IllegalArgumentException e ) { } }
Verify creating an address fails if the address is incomplete.
Verify creating an address fails if the address is incomplete .
// This should fail, base is registered, but addr is incomplete //expected because the address is not complete