How do i stub out the below line of code.
List<Workout> workoutList = workoutRepo.findByUserId(userId,Sort.by(new Sort.Order(Direction.DESC, "date"), new Sort.Order(Direction.DESC, "startTime")));
i am unsure how to handle the SORT parameter.
when(workoutRepo.findByUserId(1, ) ).thenReturn(new ArrayList<>());