use of org.mule.runtime.core.api.el.ExtendedExpressionManager in project mule by mulesoft.
the class LoggerMessageProcessorTestCase method buildExpressionManager.
private ExtendedExpressionManager buildExpressionManager() {
ExtendedExpressionManager expressionLanguage = mock(ExtendedExpressionManager.class);
when(expressionLanguage.parseLogTemplate(anyString(), any(CoreEvent.class), eq(((Component) flow).getLocation()), any(BindingContext.class))).thenReturn("text to log");
return expressionLanguage;
}
Aggregations