mil.dod.th.ose.utils/test/mil/dod/th/ose/utils/TestConfigurationUtils.java
@Test
    public final void testComponentMap()
    {
        //prop map
        Map<String, Object> properties = new HashMap<String, Object>();
        properties.put(ComponentConstants.COMPONENT_NAME, "name");
        properties.put(ComponentConstants.COMPONENT_ID, 2);
        boolean result = ConfigurationUtils.configPropertiesSet(properties);
        //verify
        assertThat(result, is(false));
    }
/**
     * Test check a map for configuration values.
     * Verify if the map contains only default properties that false is returned.
     */
Test check a map for configuration values.
Verify if the map contains only default properties that false is returned.
Test check a map for configuration values . Verify if the map contains only default properties that false is returned .
@Test
    public final void testComponentMap()
    {
        Map<String, Object> properties = new HashMap<String, Object>();
        properties.put(ComponentConstants.COMPONENT_NAME, "name");
        properties.put(ComponentConstants.COMPONENT_ID, 2);
        boolean result = ConfigurationUtils.configPropertiesSet(properties);
        assertThat(result, is(false));
    }
@ Test public final void testComponentMap ( ) { Map < String , Object > properties = new HashMap < String , Object > ( ) ; properties . put ( ComponentConstants . COMPONENT_NAME , "name" ) ; properties . put ( ComponentConstants . COMPONENT_ID , 2 ) ; boolean result = ConfigurationUtils . configPropertiesSet ( properties ) ; assertThat ( result , is ( false ) ) ; }
Test check a map for configuration values.
Test check a map for configuration values .
//prop map //verify