### Question:
PackageItemPresenter extends ListItemPresenter<SingleValueItemObjectModel, KnowledgeBaseItemPresenter, PackageItemPresenter.View> { @Override public PackageItemPresenter setup(final SingleValueItemObjectModel packageName, final KnowledgeBaseItemPresenter parentPresenter) { this.parentPresenter = parentPresenter; this.packageName = packageName; view.init(this); view.setName(packageName.getValue()); return this; } @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 testSetup() { packageItemPresenter.setup(new SingleValueItemObjectModel("Name"), mock(KnowledgeBaseItemPresenter.class)); verify(view).init(eq(packageItemPresenter)); verify(view).setName(eq("Name")); }