mockito simulate test exception thrown by service

前端 未结 0 1447
無奈伤痛
無奈伤痛 2021-02-15 03:06

I am trying to test exception thrown from service when I use the instance of it. Like I am trying to use Imock in Trans.class and use IMock method. Below is the code



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题