0
我使用ExecutorCompletionService,並將以下方法從如何使用模擬上ExecutorCompletionService
Future<List<Student>> studentDetails = taskCompletionService.take();
Lis<Student> details =studentDetails.get()
現在正在寫JUnit和調用的Mockito我想嘲弄上述兩個呼叫。我怎樣才能做到這一點?