@Test
public void testToMap()
{

    Properties properties = new Properties();
    properties.setProperty("a", "b");
    properties.setProperty("c", "d");
    Map<String, Object> map = javaPropertiesHelper.toMap(properties);
    Assert.assertEquals("map size", 2, map.size());
    Assert.assertEquals("map ['a']", map.get("a"), "b");
    Assert.assertEquals("map ['b']", map.get("c"), "d");
}