@Test public void releaseNonPinnedTasks() { ProblemFactChangeUtil.releaseNonPinnedTasks(user, scoreDirector); userTasks.stream().filter(Task::isPinned).forEach(task -> assertTaskWasNotReleased(task, scoreDirector)); userTasks.stream().filter(task -> !task.isPinned()).forEach(task -> assertTaskWasReleased(task, scoreDirector)); }
public static void releaseNonPinnedTasks(User workingUser, ScoreDirector<TaskAssigningSolution> scoreDirector) { releaseTasks(workingUser, false, scoreDirector); }
ProblemFactChangeUtil { public static void releaseNonPinnedTasks(User workingUser, ScoreDirector<TaskAssigningSolution> scoreDirector) { releaseTasks(workingUser, false, scoreDirector); } }
ProblemFactChangeUtil { public static void releaseNonPinnedTasks(User workingUser, ScoreDirector<TaskAssigningSolution> scoreDirector) { releaseTasks(workingUser, false, scoreDirector); } private  ProblemFactChangeUtil(); }
ProblemFactChangeUtil { public static void releaseNonPinnedTasks(User workingUser, ScoreDirector<TaskAssigningSolution> scoreDirector) { releaseTasks(workingUser, false, scoreDirector); } private  ProblemFactChangeUtil(); static void releaseAllTasks(User workingUser, ScoreDirector<TaskAssigningSolution> scoreDirector); static void releaseNonPinnedTasks(User workingUser, ScoreDirector<TaskAssigningSolution> scoreDirector); }
ProblemFactChangeUtil { public static void releaseNonPinnedTasks(User workingUser, ScoreDirector<TaskAssigningSolution> scoreDirector) { releaseTasks(workingUser, false, scoreDirector); } private  ProblemFactChangeUtil(); static void releaseAllTasks(User workingUser, ScoreDirector<TaskAssigningSolution> scoreDirector); static void releaseNonPinnedTasks(User workingUser, ScoreDirector<TaskAssigningSolution> scoreDirector);  }