我的代码中有这个:
import static org.easymock.classextension.EasyMock.createMock;
import static org.easymock.classextension.EasyMock.replay;
import static org.easymock.classextension.EasyMock.reset;
import static org.easymock.classextension.EasyMock.verify;
...
mockMember = createMock(Member.class);
mockMember.incrPlayInPlay(200);
因为我想测试 incrPlayInPlay 方法是否被调用。但是,mockMember.incrPlayInPlay 实际上是在调用具体类中的方法,而不是为 mock 设置期望。我究竟做错了什么?