mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/ccomm/TestAddressImpl.java
@Test
    public void testGetEventProperties() throws IllegalArgumentException, FactoryException
    {
        m_SUT.internalSetName("test");
        
        Map<String, Object> props = m_SUT.getEventProperties("test");
        
        assertThat(props, hasEntry("test" + Address.EVENT_PROP_ADDRESS_SUFFIX, (Object)m_SUT));
        assertThat(props, hasEntry("test" + Address.EVENT_PROP_ADDRESS_TYPE_SUFFIX, 
                (Object)m_SUT.getFactory().getProductType()));
        assertThat(props, hasEntry("test" + Address.EVENT_PROP_ADDRESS_NAME_SUFFIX, (Object)"test"));
        assertThat(props, hasEntry("test" + Address.EVENT_PROP_MESSAGE_ADDRESS_SUFFIX, 
                (Object)m_SUT.getDescription()));
    }
/**
     * Verify expected property values are contained within the call to get an address's event properties.
     */
Verify expected property values are contained within the call to get an address's event properties.
Verify expected property values are contained within the call to get an address ' s event properties .
@Test
    public void testGetEventProperties() throws IllegalArgumentException, FactoryException
    {
        m_SUT.internalSetName("test");
        Map<String, Object> props = m_SUT.getEventProperties("test");
        assertThat(props, hasEntry("test" + Address.EVENT_PROP_ADDRESS_SUFFIX, (Object)m_SUT));
        assertThat(props, hasEntry("test" + Address.EVENT_PROP_ADDRESS_TYPE_SUFFIX, 
                (Object)m_SUT.getFactory().getProductType()));
        assertThat(props, hasEntry("test" + Address.EVENT_PROP_ADDRESS_NAME_SUFFIX, (Object)"test"));
        assertThat(props, hasEntry("test" + Address.EVENT_PROP_MESSAGE_ADDRESS_SUFFIX, 
                (Object)m_SUT.getDescription()));
    }
@ Test public void testGetEventProperties ( ) throws IllegalArgumentException , FactoryException { m_SUT . internalSetName ( "test" ) ; Map < String , Object > props = m_SUT . getEventProperties ( "test" ) ; assertThat ( props , hasEntry ( "test" + Address . EVENT_PROP_ADDRESS_SUFFIX , ( Object ) m_SUT ) ) ; assertThat ( props , hasEntry ( "test" + Address . EVENT_PROP_ADDRESS_TYPE_SUFFIX , ( Object ) m_SUT . getFactory ( ) . getProductType ( ) ) ) ; assertThat ( props , hasEntry ( "test" + Address . EVENT_PROP_ADDRESS_NAME_SUFFIX , ( Object ) "test" ) ) ; assertThat ( props , hasEntry ( "test" + Address . EVENT_PROP_MESSAGE_ADDRESS_SUFFIX , ( Object ) m_SUT . getDescription ( ) ) ) ; }
Verify expected property values are contained within the call to get an address's event properties.
Verify expected property values are contained within the call to get an address ' s event properties .