@Test
public void tableChangedDelegateColumnIndexEqualsAllColumns() {

  TableModel delegateModel = new DefaultTableModel(1, 4);
  SubTableModel model = new SubTableModel(delegateModel, () -> 0, () -> delegateModel.getColumnCount());
  TableModelListener delegateListener = Mockito.mock(TableModelListener.class);
  new SubTableModelListener(model, delegateListener).tableChanged(new TableModelEvent(delegateModel));
  Mockito.verify(delegateListener).tableChanged(ArgumentMatchers.argThat(new TableModelEventArgumentMatcher(new TableModelEvent(model))));
}