@Test (expected = IndexOutOfBoundsException.class)
public void testToViewAfterSilentInsertAllPassFilter() {

    RowFilter<Object, Object> filter = RowFilter.regexFilter(".*");
    sorter.setRowFilter(filter);
    model.addRow(new Object[] {rows});
    assertEquals(rows, sorter.convertRowIndexToView(rows));
}