MVELExpressionEvaluator implements ExpressionEvaluator { @Override public String fromObjectToExpression(Object value) { throw new UnsupportedOperationException("The condition has not been satisfied"); } MVELExpressionEvaluator(ClassLoader classLoader); @Override boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass); @Override Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses); @Override String fromObjectToExpression(Object value);  }
@Test public void fromObjectToExpression() { assertThatThrownBy(() -> evaluator.fromObjectToExpression(null)) .isInstanceOf(UnsupportedOperationException.class) .hasMessage("The condition has not been satisfied"); }