@Test
public void testMVELConditionWithExpressionAndParserContext() {

    // given
    ParserContext context = new ParserContext();
    context.addPackageImport("java.util");
    Condition condition = new MVELCondition("return new java.util.Random(123).nextBoolean();", context);
    Facts facts = new Facts();
    // when
    boolean evaluationResult = condition.evaluate(facts);
    // then
    assertThat(evaluationResult).isTrue();
}