### Question:
TimerSettingsFieldEditorPresenter extends FieldEditorPresenter<TimerSettingsValue> { protected void onDurationTimerSelected() { setDisplayMode(DISPLAY_MODE.DURATION_TIMER, false); onTimerDurationChange(); } @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 testOnDurationTimerSelected() { editor.onDurationTimerSelected(); verifyHideParams(2); verifyDurationTimerDisplayMode(2, false); verify(editor, times(1)).onTimerDurationChange(); }