@Test
public void testDeletionOfRow() throws Exception {

    addRowWithPriorityOver("");
    addRowWithPriorityOver("1");
    addRowWithPriorityOver("");
    addRowWithPriorityOver("2");
    addRowWithPriorityOver("4");
    modelSynchronizer.deleteRow(2);
    assertPriorities(Arrays.asList("",
                                   "1",
                                   "2",
                                   "3"));
}