@Test
public void withValue() {

    StringNode strNode1 = Node.from("abc");
    StringNode strNode2 = Node.from("abc");
    ArrayNode node = Node.arrayNode()
            .withValue(strNode1)
            .withValue(strNode2);
    assertThat(node.size(), is(2));
    assertSame(strNode1, node.get(0).get());
    assertSame(strNode2, node.get(1).get());
}