@Test
public void getType() {

    ObjectNode node = Node.objectNode();
    assertEquals(NodeType.valueOf("OBJECT"), node.getType());
    assertEquals(NodeType.OBJECT, node.getType());
    assertEquals("object", node.getType().toString());
}