### Question:
TimerSettingsFieldEditorPresenter extends FieldEditorPresenter<TimerSettingsValue> { public void onTimeDateTimePickerHidden() { view.showTimeDate(true); view.showTimeDateTimePicker(false); } @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 testOnTimeDateTimePickerHidden() { editor.onTimeDateTimePickerHidden(); verify(view, times(1)).showTimeDate(true); verify(view, times(2)).showTimeDateTimePicker(false); }