}
@Test
public void testDoRunForNullDescription() {
//setup
RelatedIssue relatedIssue = issueCard.getRelatedIssues().get(0);
relatedIssue.setDescription(null);
Hypertext newDescription = EMFfitModelFactory.eINSTANCE.createHypertext();
String newDescriptionContent = "new foo";
Term term = EMFfitModelFactory.eINSTANCE.createTerm();
term.setVisibleContent(newDescriptionContent);
newDescription.getContent().add(term);
//run command
new UpdateRelatedIssueDescriptionCommand(relatedIssue, newDescription).runWithoutUnicaseCommand();
//check
assertEquals(1, relatedIssue.getDescription().getContent().size());
assertEquals(newDescriptionContent, ((Term)relatedIssue.getDescription().getContent().get(0)).getVisibleContent());
}