@Test public void deleteColumns() throws Exception { controller.onAfterDeletedColumn(new AfterColumnDeleted(1, 2)); verify(analyzer).deleteColumns(1, 2); }
@Override public void onAfterDeletedColumn(final AfterColumnDeleted event) { decisionTableAnalyzer.deleteColumns(event.getFirstColumnIndex(), event.getNumberOfColumns()); }
AnalyzerControllerImpl implements AnalyzerController,
                   ValidateEvent.Handler,
                   DeleteRowEvent.Handler,
                   AfterColumnDeleted.Handler,
                   UpdateColumnDataEvent.Handler,
                   AppendRowEvent.Handler,
                   InsertRowEvent.Handler,
                   AfterColumnInserted.Handler { @Override public void onAfterDeletedColumn(final AfterColumnDeleted event) { decisionTableAnalyzer.deleteColumns(event.getFirstColumnIndex(), event.getNumberOfColumns()); } }
AnalyzerControllerImpl implements AnalyzerController,
                   ValidateEvent.Handler,
                   DeleteRowEvent.Handler,
                   AfterColumnDeleted.Handler,
                   UpdateColumnDataEvent.Handler,
                   AppendRowEvent.Handler,
                   InsertRowEvent.Handler,
                   AfterColumnInserted.Handler { @Override public void onAfterDeletedColumn(final AfterColumnDeleted event) { decisionTableAnalyzer.deleteColumns(event.getFirstColumnIndex(), event.getNumberOfColumns()); } AnalyzerControllerImpl(final DecisionTableAnalyzer decisionTableAnalyzer,
                                  final EventBus eventBus); }
AnalyzerControllerImpl implements AnalyzerController,
                   ValidateEvent.Handler,
                   DeleteRowEvent.Handler,
                   AfterColumnDeleted.Handler,
                   UpdateColumnDataEvent.Handler,
                   AppendRowEvent.Handler,
                   InsertRowEvent.Handler,
                   AfterColumnInserted.Handler { @Override public void onAfterDeletedColumn(final AfterColumnDeleted event) { decisionTableAnalyzer.deleteColumns(event.getFirstColumnIndex(), event.getNumberOfColumns()); } AnalyzerControllerImpl(final DecisionTableAnalyzer decisionTableAnalyzer,
                                  final EventBus eventBus); @Override void initialiseAnalysis(); @Override void terminateAnalysis(); @Override void onValidate(final ValidateEvent event); @Override void onAfterDeletedColumn(final AfterColumnDeleted event); @Override void onAfterColumnInserted(final AfterColumnInserted event); @Override void onAppendRow(final AppendRowEvent event); @Override void onDeleteRow(final DeleteRowEvent event); @Override void onInsertRow(final InsertRowEvent event); @Override void onUpdateColumnData(final UpdateColumnDataEvent event); }
AnalyzerControllerImpl implements AnalyzerController,
                   ValidateEvent.Handler,
                   DeleteRowEvent.Handler,
                   AfterColumnDeleted.Handler,
                   UpdateColumnDataEvent.Handler,
                   AppendRowEvent.Handler,
                   InsertRowEvent.Handler,
                   AfterColumnInserted.Handler { @Override public void onAfterDeletedColumn(final AfterColumnDeleted event) { decisionTableAnalyzer.deleteColumns(event.getFirstColumnIndex(), event.getNumberOfColumns()); } AnalyzerControllerImpl(final DecisionTableAnalyzer decisionTableAnalyzer,
                                  final EventBus eventBus); @Override void initialiseAnalysis(); @Override void terminateAnalysis(); @Override void onValidate(final ValidateEvent event); @Override void onAfterDeletedColumn(final AfterColumnDeleted event); @Override void onAfterColumnInserted(final AfterColumnInserted event); @Override void onAppendRow(final AppendRowEvent event); @Override void onDeleteRow(final DeleteRowEvent event); @Override void onInsertRow(final InsertRowEvent event); @Override void onUpdateColumnData(final UpdateColumnDataEvent event);  }