### Question:
TimerSettingsFieldEditorPresenter extends FieldEditorPresenter<TimerSettingsValue> { protected void onDateTimerSelected() { setDisplayMode(DISPLAY_MODE.DATE_TIMER, false); onTimeDateChange(); } @Inject  TimerSettingsFieldEditorPresenter(final View view); @PostConstruct void init(); View getView(); void setValue(TimerSettingsValue value); @Override void setReadOnly(final boolean readOnly); void onShowTimeDateTimePicker(); void onTimeDateTimePickerChange(); void onTimeDateTimePickerHidden();  }### Answer:
@Test public void testOnDateTimerSelected() { editor.onDateTimerSelected(); verifyHideParams(2); verifyTimeDateTimerDisplayMode(1, false); verify(editor, times(1)).onTimeDateChange(); }