I've also wandered how to inject a mock into a spy. The following approach will not work: @Spy @InjectMocks private MySpy spy; But the desired behavior can ...
確定! 回上一頁