11 January 2011
Mockist/Classical testing, Behavior/State testing
In this article, Martin Fowler explains how mock objects work, how they encourage testing based on behavior verification, and how the community around them uses them to develop a different style of testing
07 January 2011
PowerMock
PowerMock uses a custom classloader and bytecode manipulation to enable mocking of static methods, constructors, final classes and methods, private methods, removal of static initializers and more.
Currently PowerMock supports EasyMock and Mockito
Mockito
Framework de mock java
1
(3 marks)