@Test
public void getMember() {

    StringNode strNode = Node.from("John Doe");
    HashMap<StringNode, Node> members = new HashMap<>();
    members.put(Node.from("name"), strNode);
    ObjectNode node = Node.objectNode(members);
    assertEquals(strNode, node.getMember("name").get());
    assertFalse(node.getMember("age").isPresent());
}