0
我使用ExecutorCompletionService,并将以下方法从如何使用模拟上ExecutorCompletionService
Future<List<Student>> studentDetails = taskCompletionService.take();
Lis<Student> details =studentDetails.get()
现在正在写JUnit和调用的Mockito我想嘲弄上述两个呼叫。我怎样才能做到这一点?