### Question:
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);  }### Answer:
@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)); }