use of org.springframework.expression.EvaluationException in project uPortal by Jasig.
the class StylesheetAttributeSourceForSpELVariablesTest method spELEvaluationForInputThrowsEvaluationException.
private void spELEvaluationForInputThrowsEvaluationException(final String input) {
final Expression expression = mock(Expression.class);
given(this.portalSpELService.parseExpression(input)).willReturn(expression);
given(this.portalSpELService.getValue(eq(expression), any(WebRequest.class), eq(String.class))).willThrow(new EvaluationException(input));
}
Aggregations