@Test public void userMeetsPotentialOwnerOrPlanningUserCondition() { assertThat(TaskAssigningConditions.userMeetsPotentialOwnerOrPlanningUserCondition(task, user)) .isEqualTo(meetsPotentialOwnerResult); }
public static boolean userMeetsPotentialOwnerOrPlanningUserCondition(Task task, User user) { return user != null && user.isEnabled() && (ModelConstants.IS_PLANNING_USER.test(user.getEntityId()) || isPotentialOwner(task, user)); }
TaskAssigningConditions { public static boolean userMeetsPotentialOwnerOrPlanningUserCondition(Task task, User user) { return user != null && user.isEnabled() && (ModelConstants.IS_PLANNING_USER.test(user.getEntityId()) || isPotentialOwner(task, user)); } }
TaskAssigningConditions { public static boolean userMeetsPotentialOwnerOrPlanningUserCondition(Task task, User user) { return user != null && user.isEnabled() && (ModelConstants.IS_PLANNING_USER.test(user.getEntityId()) || isPotentialOwner(task, user)); } private  TaskAssigningConditions(); }
TaskAssigningConditions { public static boolean userMeetsPotentialOwnerOrPlanningUserCondition(Task task, User user) { return user != null && user.isEnabled() && (ModelConstants.IS_PLANNING_USER.test(user.getEntityId()) || isPotentialOwner(task, user)); } private  TaskAssigningConditions(); static boolean userMeetsPotentialOwnerOrPlanningUserCondition(Task task, User user); static boolean userMeetsRequiredSkillsOrPlanningUserCondition(Task task, User user); }
TaskAssigningConditions { public static boolean userMeetsPotentialOwnerOrPlanningUserCondition(Task task, User user) { return user != null && user.isEnabled() && (ModelConstants.IS_PLANNING_USER.test(user.getEntityId()) || isPotentialOwner(task, user)); } private  TaskAssigningConditions(); static boolean userMeetsPotentialOwnerOrPlanningUserCondition(Task task, User user); static boolean userMeetsRequiredSkillsOrPlanningUserCondition(Task task, User user);  }