public class NewFactorTableFactorCommandTest extends EMFfitTestCase{
@Test
public void testDoRun() {
new NewFactorTableFactorCommand(factorTable, "new foo factor", "2").runWithoutUnicaseCommand();
assertEquals(3, factorTable.getEntries().size());
Factor newFactor = (Factor) factorTable.getEntries().get(2);
assertEquals("new foo factor", newFactor.getName());
assertEquals("O3", newFactor.getNumbering());
assertEquals("2", newFactor.getPriority());