@Test
public void whenTheConditionIsTrue_thenActionsShouldBeExecuted() throws Exception {

    // given
    Person foo = new Person("foo", 20);
    facts.put("person", foo);
    // when
    spelRule.execute(facts);
    // then
    assertThat(foo.isAdult()).isTrue();
}