AbstractExpressionEvaluator implements ExpressionEvaluator { protected boolean isEmptyText(JsonNode jsonNode) { return jsonNode.textValue() == null || jsonNode.textValue().isEmpty(); }  @Override Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses); @Override boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass);  }
@Test public void isEmptyText() { assertTrue(expressionEvaluatorLocal.isEmptyText(new TextNode(""))); assertFalse(expressionEvaluatorLocal.isEmptyText(new TextNode(VALUE))); assertTrue(expressionEvaluatorLocal.isEmptyText(new ObjectNode(factory))); }