我的getUserDetails类将User(custome类)和string作为参数并返回User。如果我使用匹配器的Mockito如下:mockito引发InvalidUseOfMatchersException
when(authService.getUserDetails(any(User.class),anyString())).thenReturn(any(User.class));
它给了我InvalidUseOfMatchersException 2点的匹配预期,3中。我不能使用上述表达式吗?