@Test
public void detectsMissingListElements() {

    Node actual = Node.fromStrings("snap", "crackle");
    Node expected = Node.fromStrings("snap", "crackle", "pop");
    assertThat(NodeDiff.diff(actual, expected),
               contains("[]: Expected element (position 2) not encountered in list: \"pop\""));
}