|The Message text:
This email was created by [your name] who thought you would be interested in the following Article:
"Mock Java Calendar - JMockit vs Mockito"
This post discusses the different possibilities to mock the behavior of Calendar class in Java, in order to unit test the business methods which depend on this class. Three solutions are proposed.
CodeProject also contains hundreds of articles, free source code samples and applications to help in your day to day programming. Why not give it a try!