Mocking a public method and a repository together

前端 未结 0 1800
南笙
南笙 2021-01-14 20:57

I have a class A, it has a dependency on a repository (maybe JPA repository).

Class A{

    @Autowired
    SomeRepository somerepository;

    public int meth         


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