### Question:
PersistableDataObjectsItemPresenter extends ListItemPresenter<PersistableDataObject, PersistencePresenter, PersistableDataObjectsItemPresenter.View> { public void remove() { super.remove(); parentPresenter.fireChangeEvent(); } @Inject  PersistableDataObjectsItemPresenter(final View view); PersistableDataObjectsItemPresenter setup(final PersistableDataObject className,
                                                     final PersistencePresenter parentPresenter); void onClassNameChange(final String className); @Override PersistableDataObject getObject(); void remove(); View getView();  }### Answer:
@Test public void testRemove() { final PersistencePresenter parentPresenter = mock(PersistencePresenter.class); final PersistableDataObjectsListPresenter listPresenter = mock(PersistableDataObjectsListPresenter.class); persistableDataObjectsItemPresenter.parentPresenter = parentPresenter; persistableDataObjectsItemPresenter.setListPresenter(listPresenter); persistableDataObjectsItemPresenter.remove(); verify(listPresenter).remove(eq(persistableDataObjectsItemPresenter)); verify(parentPresenter).fireChangeEvent(); }