mil.dod.th.ose.utils/test/mil/dod/th/ose/utils/TestConfigurationUtils.java
@Test
    public final void testInvalidMap()
    {
        //an empty map is invalid for a component
        Map<String, Object> properties = new HashMap<String, Object>();
        try
        {
            ConfigurationUtils.configPropertiesSet(properties);
            fail("Expecting exception the map doesn't contain default properties.");
        }
        catch (IllegalArgumentException e)
        {
            //expecting exception
        }
    }
/**
     * Test check a map for configuration values.
     * Verify if the map is invalid exception is throw
     */
Test check a map for configuration values.
Verify if the map is invalid exception is throw
Test check a map for configuration values . Verify if the map is invalid exception is throw
@Test
    public final void testInvalidMap()
    {
        Map<String, Object> properties = new HashMap<String, Object>();
        try
        {
            ConfigurationUtils.configPropertiesSet(properties);
            fail("Expecting exception the map doesn't contain default properties.");
        }
        catch (IllegalArgumentException e)
        {
        }
    }
@ Test public final void testInvalidMap ( ) { Map < String , Object > properties = new HashMap < String , Object > ( ) ; try { ConfigurationUtils . configPropertiesSet ( properties ) ; fail ( "Expecting exception the map doesn't contain default properties." ) ; } catch ( IllegalArgumentException e ) { } }
Test check a map for configuration values.
Test check a map for configuration values .
//an empty map is invalid for a component //expecting exception