hypertext.getContent().add(term1);
hypertext.getContent().add(link);
hypertext.getContent().add(term2);
new SetHypertextLinkTargetCommand(hypertext, 4, issueCard).runWithoutUnicaseCommand();
assertEquals(3, hypertext.getContent().size());
assertEquals("foo ", hypertext.getContent().get(0).getVisibleContent());
assertEquals("link", hypertext.getContent().get(1).getVisibleContent());
assertEquals(" bar", hypertext.getContent().get(2).getVisibleContent());