@Test public void testInvalidDependentEnum_AdvancedEnum2() { final String e = "'Fact.field[dependentField1]' : '(new org.company.DataHelper()).getList(\"@{dependentField1}\")'"; final DataEnumLoader loader = new DataEnumLoader(e, new RawMVELEvaluator()); assertFalse(loader.hasErrors()); }
public boolean hasErrors() { return this.errors.size() > 0; }
DataEnumLoader { public boolean hasErrors() { return this.errors.size() > 0; } }
DataEnumLoader { public boolean hasErrors() { return this.errors.size() > 0; } DataEnumLoader(final String mvelSource, final MVELEvaluator mvelEvaluator);  DataEnumLoader(final String mvelSource,
                          final ClassLoader classLoader,
                          final MVELEvaluator mvelEvaluator); }
DataEnumLoader { public boolean hasErrors() { return this.errors.size() > 0; } DataEnumLoader(final String mvelSource, final MVELEvaluator mvelEvaluator);  DataEnumLoader(final String mvelSource,
                          final ClassLoader classLoader,
                          final MVELEvaluator mvelEvaluator); List<String> getErrors(); boolean hasErrors(); Map<String, String[]> getData(); }
DataEnumLoader { public boolean hasErrors() { return this.errors.size() > 0; } DataEnumLoader(final String mvelSource, final MVELEvaluator mvelEvaluator);  DataEnumLoader(final String mvelSource,
                          final ClassLoader classLoader,
                          final MVELEvaluator mvelEvaluator); List<String> getErrors(); boolean hasErrors(); Map<String, String[]> getData();  }