@Test
public void testMVELActionExecutionWithFailure() {

    // given
    Action action = new MVELAction("person.setBlah(true);");
    Facts facts = new Facts();
    Person foo = new Person("foo", 20);
    facts.put("person", foo);
    // when
    assertThatThrownBy(() -> action.execute(facts))
            // then
            .isInstanceOf(Exception.class)
            .hasMessageContaining("Error: unable to resolve method: org.jeasy.rules.mvel.Person.setBlah(java.lang.Boolean)");
}