@Test
public void isObjectEmpty() {

    ObjectNode json = new ObjectNode(factory);
    assertTrue(expressionEvaluatorLocal.isObjectEmpty(json));
    ObjectNode nestedNode = new ObjectNode(factory);
    json.set("emptyField", nestedNode);
    assertTrue(expressionEvaluatorLocal.isObjectEmpty(json));
    nestedNode.set("notEmptyField", new TextNode("text"));
    assertFalse(expressionEvaluatorLocal.isObjectEmpty(json));
}