Mokito JUnit Test is failing when testing with 2 mocked dependencies with one relies on the other?

后端 未结 0 1895
感动是毒
感动是毒 2020-11-21 05:53
Class ToBeTested{

@Autowired
private Repo1Src repo1;

@Autowired
private Repo2Src repo2;

 public Map getAll( long id) {
        List

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