@Test
public void hasGet() {

    StringNode strNode = Node.from("abc");
    ArrayNode node = new ArrayNode(Arrays.asList(strNode), SourceLocation.none());
    assertTrue(node.get(0).isPresent());
    assertEquals(strNode, node.get(0).get());
    assertFalse(node.get(1).isPresent());
}