@Test
public void testSpELActionWithExpressionAndParserContext() throws Exception {

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