@Test public void testRemove() { final ExternalDataObjectsPresenter parentPresenter = mock(ExternalDataObjectsPresenter.class); final ImportsListPresenter listPresenter = mock(ImportsListPresenter.class); externalDataObjectsItemPresenter.parentPresenter = parentPresenter; externalDataObjectsItemPresenter.setListPresenter(listPresenter); externalDataObjectsItemPresenter.remove(); verify(listPresenter).remove(eq(externalDataObjectsItemPresenter)); verify(parentPresenter).fireChangeEvent(); }
@Override public void remove() { super.remove(); parentPresenter.fireChangeEvent(); }
ExternalDataObjectsItemPresenter extends ListItemPresenter<Import, ExternalDataObjectsPresenter, ExternalDataObjectsItemPresenter.View> { @Override public void remove() { super.remove(); parentPresenter.fireChangeEvent(); } }
ExternalDataObjectsItemPresenter extends ListItemPresenter<Import, ExternalDataObjectsPresenter, ExternalDataObjectsItemPresenter.View> { @Override public void remove() { super.remove(); parentPresenter.fireChangeEvent(); } @Inject  ExternalDataObjectsItemPresenter(final View view); }
ExternalDataObjectsItemPresenter extends ListItemPresenter<Import, ExternalDataObjectsPresenter, ExternalDataObjectsItemPresenter.View> { @Override public void remove() { super.remove(); parentPresenter.fireChangeEvent(); } @Inject  ExternalDataObjectsItemPresenter(final View view); @Override ExternalDataObjectsItemPresenter setup(final Import import_,
                                                  final ExternalDataObjectsPresenter parentPresenter); @Override void remove(); void onTypeNameChange(final String typeName); @Override Import getObject(); View getView(); }
ExternalDataObjectsItemPresenter extends ListItemPresenter<Import, ExternalDataObjectsPresenter, ExternalDataObjectsItemPresenter.View> { @Override public void remove() { super.remove(); parentPresenter.fireChangeEvent(); } @Inject  ExternalDataObjectsItemPresenter(final View view); @Override ExternalDataObjectsItemPresenter setup(final Import import_,
                                                  final ExternalDataObjectsPresenter parentPresenter); @Override void remove(); void onTypeNameChange(final String typeName); @Override Import getObject(); View getView();  }