### Question:
RoleItemPresenter extends ListItemPresenter<RolePermissions, BranchManagementPresenter, RoleItemPresenter.View> { public void setCanRead(boolean canRead) { this.rolePermissions.setCanRead(canRead); if (!canRead) { setForceCanWrite(false); setForceCanDelete(false); setForceCanDeploy(false); } parentPresenter.fireChangeEvent(); } @Inject  RoleItemPresenter(final View view); @Override RoleItemPresenter setup(final RolePermissions rolePermissions,
                                   final BranchManagementPresenter parentPresenter); void setCanRead(boolean canRead); void setCanWrite(boolean canWrite); void setCanDelete(boolean canDelete); void setCanDeploy(boolean canDeploy); @Override RolePermissions getObject();  }### Answer:
@Test public void setCanReadTest() { presenter.setCanRead(false); assertFalse(rolePermissions.canRead()); verify(branchManagementPresenter).fireChangeEvent(); }