easymock, powermock, and mockito Easymock Class Mocking Limitations To be coherent with interface mocking, EasyMock provides a built-in behavior for equals(), toString(), hashCode() and finalize() ...
现在很多项目都使用easymock来作为单元测试框架。 easymock一个方法,基本上是三步:easymock.expect()、easymock.replay()、easymock.verify()。 在写单元测试的时候按这三步写,并不清楚easymock.replay()到底...