Mockito uses method stubbing from other test method in the same class

前端 未结 0 927
深忆病人
深忆病人 2021-02-06 01:13

I am trying to test a method for the happy path and an Exception scenario. My class looks like this

class MyClass
{
  @Autowired
  AnotherClass anotherClass;

  p         


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