String expected = "rule \"test expressionsNestedJavaEnum\""
+ "\tdialect \"mvel\"\n when "
+ " Person( favouriteCheese.genericName == CHEESE.Cheddar )"
+ " then " + "end";
PackageDataModelOracle dmo = mock( PackageDataModelOracle.class );
when(
dmo.getProjectModelFields()
).thenReturn(
new HashMap<String, ModelField[]>() {{
put( "Person", new ModelField[]{
new ModelField(
"favouriteCheese",