newHypertext.getContent().add(newTerm1);
newHypertext.getContent().add(newLink);
newHypertext.getContent().add(newterm2);
//run command
new UpdateHypertextContentsCommand(oldHypertext, newHypertext)
.runWithoutUnicaseCommand();
// check for same objects
assertEquals(oldHypertextIdentifier, oldHypertext.getIdentifier());
assertEquals(3, oldHypertext.getContent().size());