如何利用PowerMock改变非静态方法
原文:How to mock non static methods using PowerMock
原文:How to mock non static methods using PowerMock
I am trying to mock an inner method call of my test method My class looks like this public class App { public Student getStudent() { MyDAO dao = new MyDAO(); return dao.getStudentDetails();//...