* - text after unlinked - hypertext contents after unlinked - offsets after
* unlinked - link has been removed after unlinked
*/
@Test
public void testUnlinkWordForTermLinkTermLinkTermLinkTerm() {
Term term1 = EMFfitModelFactory.eINSTANCE.createTerm();
term1.setVisibleContent("foo ");
Link link1 = EMFfitModelFactory.eINSTANCE.createLink();
link1.setVisibleContent("link1");
Term term2 = EMFfitModelFactory.eINSTANCE.createTerm();
term2.setVisibleContent(" foothing ");
Link link2 = EMFfitModelFactory.eINSTANCE.createLink();
link2.setVisibleContent("link2");
Term term3 = EMFfitModelFactory.eINSTANCE.createTerm();
term3.setVisibleContent(" barthing ");
Link link3 = EMFfitModelFactory.eINSTANCE.createLink();
link3.setVisibleContent("link4");
Term term4 = EMFfitModelFactory.eINSTANCE.createTerm();
term4.setVisibleContent(" bar");
testHypertext.getContent().add(term1);
testHypertext.getContent().add(link1);
testHypertext.getContent().add(term2);
testHypertext.getContent().add(link2);