newFlexibility.getContent().add(term);
Factor factor = (Factor)((FactorCategory)factorTable.getEntries().get(1)).getChildren().get(0);
//run command
new UpdateFactorFlexibilityCommand(factor,newFlexibility ).runWithoutUnicaseCommand();
//check results
assertEquals(1, factor.getFlexibility().getContent().size());
assertEquals(content, ((Term)factor.getFlexibility().getContent().get(0)).getVisibleContent());
}