@Test
public void testNullNotShown() {

    DisplayerSettings departmentList = DisplayerSettingsFactory.newSelectorSettings()
            .dataset(EXPENSES)
            .group(COLUMN_DEPARTMENT)
            .column(COLUMN_DEPARTMENT)
            .column(COLUMN_ID, AggregateFunctionType.COUNT)
            .buildSettings();
    // Insert a null entry into the dataset
    DataSet expensesDataSet = clientDataSetManager.getDataSet(EXPENSES);
    int column = expensesDataSet.getColumnIndex(expensesDataSet.getColumnById(COLUMN_DEPARTMENT));
    expensesDataSet.setValueAt(0, column, null);
    // ... and make sure it's not shown
    SelectorLabelSetDisplayer presenter = createSelectorDisplayer(departmentList);
    SelectorLabelSetDisplayer.View view = presenter.getView();
    presenter.draw();
    verify(view, times(5)).addItem(any());
    verify(view, never()).addItem(null);
}