public void testValues() throws Exception {
Dictionary dict = new Properties();
dict.put("joe", "satriani");
MapBasedDictionary wrapper = new MapBasedDictionary();
wrapper.putAll(dict);
Enumeration enm1 = dict.elements();
Enumeration enm2 = wrapper.elements();
while (enm1.hasMoreElements()) {
assertTrue(enm2.hasMoreElements());
assertEquals(enm1.nextElement(), enm2.nextElement());
}