### Question:
PackageItemPresenter extends ListItemPresenter<SingleValueItemObjectModel, KnowledgeBaseItemPresenter, PackageItemPresenter.View> { @Override public void remove() { super.remove(); parentPresenter.fireChangeEvent(); } @Inject  PackageItemPresenter(final View view); @Override PackageItemPresenter setup(final SingleValueItemObjectModel packageName,
                                      final KnowledgeBaseItemPresenter parentPresenter); void onPackageNameChange(final String name); @Override SingleValueItemObjectModel getObject(); @Override void remove();  }### Answer:
@Test public void testRemove() { final KnowledgeBaseItemPresenter parentPresenter = mock(KnowledgeBaseItemPresenter.class); final PackageListPresenter listPresenter = mock(PackageListPresenter.class); packageItemPresenter.parentPresenter = parentPresenter; packageItemPresenter.setListPresenter(listPresenter); packageItemPresenter.remove(); verify(listPresenter).remove(eq(packageItemPresenter)); verify(parentPresenter).fireChangeEvent(); }