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