// org.mvel2.MVEL.executeExpression(org.mvel2.MVEL.compileExpression("System.out.println(foo);"), map, factory);
//}
public void testPackageImportEnum() {
String str = "new Status( START )";
ParserConfiguration pconf = new ParserConfiguration();
pconf.addPackageImport("org.mvel2.tests.core.res");
pconf.addPackageImport("org.mvel2.tests.core.res.Status");
ParserContext context = new ParserContext(pconf);
context.setStrongTyping(true);
Serializable s = MVEL.compileExpression(str.trim(), context);
assertEquals(new Status(Status.START), MVEL.executeExpression(s));