@Test
public void testToViewAfterSilentRemoveAllPassFilter() {

    RowFilter<Object, Object> filter = RowFilter.regexFilter(".*");
    sorter.setRowFilter(filter);
    model.removeRow(rows - 1);
    assertEquals(rows - 1, sorter.convertRowIndexToView(rows - 1));
}