map.put("two", new Integer(2));
map.put("three", new Integer(3));
Context context = EnterpriseNamingContext.createEnterpriseNamingContext(map);
Map result = toListResults(context.list(""));
assertEquals(4, result.size());
assertEquals(Integer.class.getName(), result.get("one"));
assertEquals(Integer.class.getName(), result.get("two"));
assertEquals(Integer.class.getName(), result.get("three"));
assertNotNull(result.get("env"));