@Test
public void testSpELExpressionEvaluation() {

    // given
    Condition isAdult = new SpELCondition("#{ ['person'].age > 18 }");
    Facts facts = new Facts();
    facts.put("person", new Person("foo", 20));
    // when
    boolean evaluationResult = isAdult.evaluate(facts);
    // then
    assertThat(evaluationResult).isTrue();
}