### Question:
MVELRule extends BasicRule { @Override public void execute(Facts facts) throws Exception { for (Action action : actions) { action.execute(facts); } } MVELRule();  MVELRule(ParserContext parserContext); MVELRule name(String name); MVELRule description(String description); MVELRule priority(int priority); MVELRule when(String condition); MVELRule then(String action); @Override boolean evaluate(Facts facts); @Override void execute(Facts facts);  }### Answer:
@Test public void whenTheConditionIsTrue_thenActionsShouldBeExecuted() throws Exception { Person foo = new Person("foo", 20); facts.put("person", foo); mvelRule.execute(facts); assertThat(foo.isAdult()).isTrue(); }