@Test
public void testSpELFunctionExecution() throws Exception {

    // given
    Action printAction = new SpELAction("#{ T(org.jeasy.rules.spel.Person).sayHello() }");
    Facts facts = new Facts();
    // when
    printAction.execute(facts);
    // then
    assertThat(systemOutRule.getLog()).contains("hello");
}