SimpleMapExpressionEvaluator implements ExpressionEvaluator { @Override public Object evaluate(Expression expression, ExpressionManager expressionManager, DelegateInterceptor delegateInterceptor) { return expression.getValue(expressionManager, delegateInterceptor, context); } SimpleMapExpressionEvaluator(Map<String, Object> context); @Override Object evaluate(Expression expression,
        ExpressionManager expressionManager,
        DelegateInterceptor delegateInterceptor);  }
@Test public void evaluate_should_returnResultOfGetValueWithMap() { Map<String, Object> context = singletonMap("city", "London"); SimpleMapExpressionEvaluator evaluator = new SimpleMapExpressionEvaluator( context); Expression expression = mock(Expression.class); given(expression.getValue(expressionManager, delegateInterceptor, context)).willReturn("London"); Object value = evaluator.evaluate(expression, expressionManager, delegateInterceptor); assertThat(value).isEqualTo("London"); }