    @Test
    public void testToValueMap() {

        final Map<String, String> stringMap = new LinkedHashMap<String, String>();
        stringMap.put("one", "uno");
        stringMap.put("two", "dos");
        stringMap.put("three", "tres");

        final Map<String, Object> objectMap = new LinkedHashMap<String, Object>();
        objectMap.put("one", "uno");
        objectMap.put("two", "dos");
        objectMap.put("three", "tres");

        final ValueMap expResult = new ValueMapDecorator(objectMap);
        final ValueMap actual = TypeUtil.toValueMap(stringMap);

        assertEquals(expResult.size(), actual.size());
        assertEquals(expResult.get("one", "expected"), actual.get("one", "actual"));
        assertEquals(expResult.get("two", "expected"), actual.get("two", "actual"));
        assertEquals(expResult.get("three", "expected"), actual.get("three", "actual"));
    }