我在使用Mockito计算方法调用时遇到问题。问题是我想计算调用次数的方法是由其他方法在测试类中间接调用的。这是代码:publicclassClassForTest{privateIntegervalue;publicvoiddoSmth(){prepareValue("Firstcall");prepareValue("Secondcall");prepareValue("Thirdcall");System.out.println(value);}protectedvoidprepareValue(Stringmsg){System.out.println("Thisismessa