@Test
public void detectsExtraListElements() {

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