@Test
public void testDoRunForNullDescription() {
//setup
InfluencingFactor influencingFactor = issueCard.getInfluencingFactors().get(0);
influencingFactor.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 UpdateInfluencingFactorDescriptionCommand(influencingFactor, newDescription).runWithoutUnicaseCommand();
//check
assertEquals(1, influencingFactor.getDescription().getContent().size());
assertEquals(newDescriptionContent, ((Term)influencingFactor.getDescription().getContent().get(0)).getVisibleContent());
}