### Question:
PropertiesItemPresenter extends ListItemPresenter<Property, PersistencePresenter, PropertiesItemPresenter.View> { @Override public void remove() { super.remove(); parentPresenter.fireChangeEvent(); } @Inject  PropertiesItemPresenter(final View view); @Override PropertiesItemPresenter setup(final Property property,
                                         final PersistencePresenter parentPresenter); void onNameChange(final String name); void onValueChange(final String value); @Override Property getObject(); @Override void remove();  }### Answer:
@Test public void testRemove() { final PersistencePresenter parentPresenter = mock(PersistencePresenter.class); final PropertiesListPresenter listPresenter = mock(PropertiesListPresenter.class); propertiesItemPresenter.parentPresenter = parentPresenter; propertiesItemPresenter.setListPresenter(listPresenter); propertiesItemPresenter.remove(); verify(listPresenter).remove(eq(propertiesItemPresenter)); verify(parentPresenter).fireChangeEvent(); }