@Test
public void getAsString() {

    AbstractNode<N> node = parentWithChildString("A");
    assertThat(node.getAsString("child")).isEqualTo("A");
    assertThat(node.getAsString("unknownChild", "B")).isEqualTo("B");
}