public static MvelCompiler createMvelCompiler(RuleContext context) {
        return createMvelCompiler(context, false);
    }
@Test
    public void createMvelCompiler_withDrools() {
        String mvelBlock = "{ drools.workingMemory.setGlobal(\"list\", new java.util.ArrayList()); }";
        RuleContext context = createFakeRuleContext();
        CompiledBlockResult compile;
        try {
            compile = DrlxParseUtil.createMvelCompiler(context, true).compileStatement(mvelBlock);
            assertThat(compile.statementResults().toString()).isEqualToIgnoringWhitespace("{ drools.getWorkingMemory().setGlobal(\"list\", new java.util.ArrayList()); }");
        } catch (MvelCompilerException e) {
            fail("Failed while compiling statement", e);
        }
    }