mil.dod.th.ose.config/test/mil/dod/th/ose/config/loading/impl/TestFactoryObjectTrackerCustomizer.java
@Test
    public void testTranslateStringMap()
    {
        List<StringMapEntry> props = new ArrayList<StringMapEntry>();
        props.add(new StringMapEntry("id1", "true"));
        props.add(new StringMapEntry("id2", "5"));

        Map<String, Object> expectedValues = new HashMap<String, Object>();
        expectedValues.put("id1", true);
        expectedValues.put("id2", 5);
        
        assertEquals(m_FactSUT.translateStringMap(props, m_Object.getFactory()), expectedValues);
    }
/**
     * Verify {@link StringMapEntry} can be translated into a map.
     */
Verify  StringMapEntry can be translated into a map.
Verify StringMapEntry can be translated into a map .
@Test
    public void testTranslateStringMap()
    {
        List<StringMapEntry> props = new ArrayList<StringMapEntry>();
        props.add(new StringMapEntry("id1", "true"));
        props.add(new StringMapEntry("id2", "5"));
        Map<String, Object> expectedValues = new HashMap<String, Object>();
        expectedValues.put("id1", true);
        expectedValues.put("id2", 5);
        assertEquals(m_FactSUT.translateStringMap(props, m_Object.getFactory()), expectedValues);
    }
@ Test public void testTranslateStringMap ( ) { List < StringMapEntry > props = new ArrayList < StringMapEntry > ( ) ; props . add ( new StringMapEntry ( "id1" , "true" ) ) ; props . add ( new StringMapEntry ( "id2" , "5" ) ) ; Map < String , Object > expectedValues = new HashMap < String , Object > ( ) ; expectedValues . put ( "id1" , true ) ; expectedValues . put ( "id2" , 5 ) ; assertEquals ( m_FactSUT . translateStringMap ( props , m_Object . getFactory ( ) ) , expectedValues ) ; }
Verify {@link StringMapEntry} can be translated into a map.
Verify { @link StringMapEntry } can be translated into a map .