I have been analyzing about Mocking and mocking frameworks recently. I find that the mocking frameworks have evolved over time. JMock to EasyMock to Mockito and even TypeMock, each of these frameworks use their own strategies for mocking. Some make the use of interfaces mandatory while others support mocking concrete classes.
My Question: Does anyone have any document or any pointers to articles that discuss in detail about the various mocking strategies?
Thanks a lot.
Finally I found an article which explains different kinds of Mocking. So there are basically two types of mechanism used in mocking,