use of org.mvel2.tests.core.res.MyInterface in project mvel by mvel.
the class CoreConfidenceTests method testEnumSupport.
public void testEnumSupport() {
MyInterface myInterface = new MyClass();
myInterface.setType(MyInterface.MY_ENUM.TWO, true);
boolean isType = MVEL.eval("isType(org.mvel2.tests.core.res.MyInterface$MY_ENUM.ONE)", myInterface, Boolean.class);
System.out.println(isType);
}
Aggregations