SelectorLabelSetDisplayer extends AbstractErraiDisplayer<SelectorLabelSetDisplayer.View> { @Override public View getView() { return view; } @Inject  SelectorLabelSetDisplayer(View view, SyncBeanManager beanManager); @Override View getView(); @Override void close(); @Override DisplayerConstraints createDisplayerConstraints(); String getFirstColumnId();  }
@Test public void testNullNotShown() { DisplayerSettings departmentList = DisplayerSettingsFactory.newSelectorSettings() .dataset(EXPENSES) .group(COLUMN_DEPARTMENT) .column(COLUMN_DEPARTMENT) .column(COLUMN_ID, AggregateFunctionType.COUNT) .buildSettings(); DataSet expensesDataSet = clientDataSetManager.getDataSet(EXPENSES); int column = expensesDataSet.getColumnIndex(expensesDataSet.getColumnById(COLUMN_DEPARTMENT)); expensesDataSet.setValueAt(0, column, null); SelectorLabelSetDisplayer presenter = createSelectorDisplayer(departmentList); SelectorLabelSetDisplayer.View view = presenter.getView(); presenter.draw(); verify(view, times(5)).addItem(any()); verify(view, never()).addItem(null); }