Skip to content

Commit 0ee2d41

Browse files
committed
Delete obsolete test utility method
Commit dc6ce30 made this method obsolete.
1 parent dc6ce30 commit 0ee2d41

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

spring-expression/src/test/java/org/springframework/expression/spel/SetValueTests.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -268,18 +268,6 @@ private Expression parse(String expressionString) {
268268
return parser.parseExpression(expressionString);
269269
}
270270

271-
/**
272-
* Call setValue() but expect it to fail.
273-
*/
274-
private void setValueAndExpectError(String expression, Object value) {
275-
Expression e = parser.parseExpression(expression);
276-
assertThat(e).isNotNull();
277-
if (DEBUG) {
278-
SpelUtilities.printAbstractSyntaxTree(System.out, e);
279-
}
280-
assertThatSpelEvaluationException().isThrownBy(() -> e.setValue(context, value));
281-
}
282-
283271
/**
284272
* Call setValue() but expect it to fail.
285273
* @see #evaluateAndCheckError(org.springframework.expression.ExpressionParser, String, Class, SpelMessage, Object...)

0 commit comments

Comments
 (0)