ProcessInstanceListViewImpl extends AbstractMultiGridView<ProcessInstanceSummary, ProcessInstanceListPresenter> implements ProcessInstanceListPresenter.ProcessInstanceListView { protected Command getSignalCommand(final ExtendedPagedTable<ProcessInstanceSummary> extendedPagedTable) { return () -> presenter.bulkSignal(extendedPagedTable.getSelectedItems()); }  @Override List<String> getInitColumns(); @Override List<String> getBannedColumns(); @Override String getEmptyTableCaption(); @Override List<AnchorListItem> getBulkActionsItems(ExtendedPagedTable<ProcessInstanceSummary> extendedPagedTable); @Override void initColumns(final ListTable<ProcessInstanceSummary> extendedPagedTable);  }
@Test public void testSignalCommand() { final ExtendedPagedTable table = mock(ExtendedPagedTable.class); view.getSignalCommand(table).execute(); verify(presenter).bulkSignal(any()); }