@Test
public void testDynamicModeInit() {

    ColumnGroup columnGroup = new ColumnGroup("col", "col", DYNAMIC, 15, HOUR.toString());
    presenter.init(columnGroup);
    verify(view).setFixedModeValue(false);
    verify(view).clearIntervalTypeSelector();
    verify(view, times(DateIntervalType.values().length)).addIntervalTypeItem(any(DateIntervalType.class));
    verify(view).setSelectedIntervalTypeIndex(anyInt());
    verify(view).setMaxIntervalsVisibility(true);
    verify(view).setMaxIntervalsValue("15");
    verify(view, never()).setFirstDayVisibility(true);
    verify(view, never()).setFirstMonthVisibility(true);
}