@Test public void testMoveAlternative() { handler.moveAlternative(a2, 0); assertEquals(a2, smaaModel.getAlternatives().get(0)); assertEquals(a1, smaaModel.getAlternatives().get(1)); }
@Test public void testMoveCategory() { handler.moveCategory(cat2, 0); assertEquals(cat2, smaaModel.getCategories().get(0)); assertEquals(cat1, smaaModel.getCategories().get(1)); }
@Test public void testMoveCriterion() { handler.moveCriterion(crit2, 0); assertEquals(crit2, smaaModel.getCriteria().get(0)); assertEquals(crit1, smaaModel.getCriteria().get(1)); }