List l = (List) result;
assertEquals(3, l.size());
result = MVEL.eval("['Person.age' : [2, 3]\n 'Person.name' : ['qqq', \n'ccc']]", new HashMap());
DataEnumLoader loader = new DataEnumLoader(readLines().toString());
assertFalse(loader.getErrors().toString(), loader.hasErrors());
Map enumeration = (Map) loader.getData();
assertEquals(loader.getErrors().toString(), 0, loader.getErrors().size());
assertEquals(3, enumeration.size());
String[] list = (String[]) enumeration.get("Person.age");
assertEquals(4, list.length);
assertEquals("1", list[0]);
assertEquals("2", list[1]);
list = (String[]) enumeration.get("Person.rating");
assertEquals(2, list.length);
assertEquals("High", list[0]);
assertEquals("Low", list[1]);
loader = new DataEnumLoader("goober poo error");
assertEquals(0, loader.getData().size());
assertFalse(loader.getErrors().size() == 0);
assertTrue(loader.hasErrors());
}