@Test public void testClear() { presenter.clear(); verify(dataProviderList, times(1)).clear(); verify(dataProvider, times(1)).flush(); }
public void clear() { dataProvider.getList().clear(); dataProvider.flush(); }
TemplateParamsTablePresenter { public void clear() { dataProvider.getList().clear(); dataProvider.flush(); } }
TemplateParamsTablePresenter { public void clear() { dataProvider.getList().clear(); dataProvider.flush(); } @Inject  TemplateParamsTablePresenter(final View view); }
TemplateParamsTablePresenter { public void clear() { dataProvider.getList().clear(); dataProvider.flush(); } @Inject  TemplateParamsTablePresenter(final View view); @PostConstruct void init(); void setItems(final List<TemplateParam> items); void clear(); View getView(); void setParamChangeHandler(final ParamChangeHandler paramChangeHandler); }
TemplateParamsTablePresenter { public void clear() { dataProvider.getList().clear(); dataProvider.flush(); } @Inject  TemplateParamsTablePresenter(final View view); @PostConstruct void init(); void setItems(final List<TemplateParam> items); void clear(); View getView(); void setParamChangeHandler(final ParamChangeHandler paramChangeHandler);  }