### Question:
ValidationItemPresenter extends ListItemPresenter<ModuleRepositories.ModuleRepository, ValidationPresenter, ValidationItemPresenter.View> { public void setInclude(final boolean include) { projectRepository.setIncluded(include); parentPresenter.fireChangeEvent(); } @Inject  ValidationItemPresenter(final View view); @Override ValidationItemPresenter setup(final ModuleRepositories.ModuleRepository projectRepository,
                                         final ValidationPresenter parentPresenter); void setInclude(final boolean include); @Override ModuleRepositories.ModuleRepository getObject();  }### Answer:
@Test public void testSetInclude() { final ModuleRepositories.ModuleRepository projectRepository = mock(ModuleRepositories.ModuleRepository.class); final ValidationPresenter parentPresenter = mock(ValidationPresenter.class); validationItemPresenter.projectRepository = projectRepository; validationItemPresenter.parentPresenter = parentPresenter; validationItemPresenter.setInclude(true); verify(projectRepository).setIncluded(eq(true)); verify(parentPresenter).fireChangeEvent(); }