{
MVELExpressionLanguage mvel = new MVELExpressionLanguage(muleContext);
mvel.initialise();
// Ensure ParserContext ThreadLocal is cleared after initialization (occurs in deployment thread)
assertThat(AbstractParser.contextControl(2, null, null), is(nullValue()));
mvel.evaluate("f('one','two')");
// Ensure ParserContext ThreadLocal is cleared after evaluation (occurs in receiver/flow/dispatcher thread)
assertThat(AbstractParser.contextControl(2, null, null), is(nullValue()));
}
class TestExtension implements ExpressionLanguageExtension