Mockito无法使用`when()`模拟方法调用
I'm building a REST Api using SpringBoot. I have three classes, ProductController, BackendService and SquareService. All of these classes have a method called postProduct(ProductRequestBody request), which return different types based on which exact method...