@Test
public void testDateGroup() {

    presenter.init(DATA_2D_FIXED, DataSetLookupFactory.newDataSetLookupBuilder()
            .dataset(POPULATION_UUID)
            .filter(greaterThan(100))
            .group("year")
            .column("year", "Year")
            .column("population", AggregateFunctionType.SUM, "Total")
            .buildLookup());
    verify(view).setGroupEnabled(true);
    verify(view).setGroupByDateEnabled(true);
    verify(view, never()).enableGroupColumnSelectorHint();
    verify(groupDateEditor).init(any(ColumnGroup.class));
}