@Test
public void testMapFromDictionary() throws Exception{

    
    Dictionary<String, String> dictionary = new Hashtable<String, String>();
    dictionary.put("one", "1");
    dictionary.put("two", "2");
    
    Map<String,String> map = fromDictionary(dictionary);
    assertEquals(2, map.size());
    assertEquals("1", map.get("one"));
    assertEquals("2", map.get("two"));
    
}