### Question:
SimpleConditionEditorPresenter extends FieldEditorPresenter<Condition> { public void clear() { variableSearchSelectionHandler.clearSelection(); functionSearchSelectionHandler.clearSelection(); functionSearchService.clear(); removeParams(); clearErrors(); } @Inject  SimpleConditionEditorPresenter(final View view,
                                          final ManagedInstance<ConditionParamPresenter> paramInstance,
                                          final VariableSearchService variableSearchService,
                                          final FunctionSearchService functionSearchService,
                                          final FunctionNamingService functionNamingService,
                                          final ClientTranslationService translationService); @PostConstruct void init(); View getView(); void init(ClientSession session); @Override void setValue(Condition value); @Override void setReadOnly(boolean readOnly); void clear(); boolean isValid();  }### Answer:
@Test public void testClear() { presenter.clear(); verifyClear(); }