@Test
void nonSimilarNodeInsert() throws Exception
{

    Node text = this.document.getDocumentElement().getLastChild();
    Map<Node, Patch<?>> patches = this.defaultXMLDiff.diff(null, text, this.config);
    assertEquals(1, patches.size());
    Patch<?> patch = patches.get(null);
    assertEquals(1, patch.size());
    Delta<?> delta = patch.get(0);
    assertEquals(Delta.Type.INSERT, delta.getType());
    assertEquals(Collections.emptyList(), delta.getPrevious().getElements());
    assertEquals(Collections.singletonList(text), delta.getNext().getElements());
}