@Test public void deleteInstanceCallsHelperDeleteInstance() { initTest(); crudComponent.deleteInstance(0); verify(helper).deleteInstance(0); }
public void deleteInstance(final int index) { helper.deleteInstance(index); }
CrudComponent implements IsWidget { public void deleteInstance(final int index) { helper.deleteInstance(index); } }
CrudComponent implements IsWidget { public void deleteInstance(final int index) { helper.deleteInstance(index); } @Inject  CrudComponent(final CrudComponentView<MODEL, FORM_MODEL> view,
                         final EmbeddedFormDisplayer embeddedFormDisplayer,
                         final ModalFormDisplayer modalFormDisplayer,
                         final TranslationService translationService); }
CrudComponent implements IsWidget { public void deleteInstance(final int index) { helper.deleteInstance(index); } @Inject  CrudComponent(final CrudComponentView<MODEL, FORM_MODEL> view,
                         final EmbeddedFormDisplayer embeddedFormDisplayer,
                         final ModalFormDisplayer modalFormDisplayer,
                         final TranslationService translationService); void init(final CrudActionsHelper<MODEL> helper); FormDisplayer getFormDisplayer(); void createInstance(); void editInstance(int index); void deleteInstance(final int index); int getCurrentPage(); void refresh(); boolean isEmbedded(); void setEmbedded(final boolean embedded); @Override Widget asWidget(); void displayForm(final String title,
                            final IsFormView<FORM_MODEL> formView,
                            final FormDisplayer.FormDisplayerCallback callback); void displayForm(IsFormView<FORM_MODEL> formView,
                            FormDisplayerCallback callback); void restoreTable(); }
CrudComponent implements IsWidget { public void deleteInstance(final int index) { helper.deleteInstance(index); } @Inject  CrudComponent(final CrudComponentView<MODEL, FORM_MODEL> view,
                         final EmbeddedFormDisplayer embeddedFormDisplayer,
                         final ModalFormDisplayer modalFormDisplayer,
                         final TranslationService translationService); void init(final CrudActionsHelper<MODEL> helper); FormDisplayer getFormDisplayer(); void createInstance(); void editInstance(int index); void deleteInstance(final int index); int getCurrentPage(); void refresh(); boolean isEmbedded(); void setEmbedded(final boolean embedded); @Override Widget asWidget(); void displayForm(final String title,
                            final IsFormView<FORM_MODEL> formView,
                            final FormDisplayer.FormDisplayerCallback callback); void displayForm(IsFormView<FORM_MODEL> formView,
                            FormDisplayerCallback callback); void restoreTable();  }