CheesyMock is an open-source and lightweight java based library that allows you to create Java mock objects for use in various unit tests.
For instance, you will be able to create a dummy HttpServletRequest by only typing:
HttpServletRequest req = Cheesy.mock(HttpServletRequest.class);
Detailed instructions on how to install and use the CheesyMock utility on your Mac are available HERE.
CheesyMock is a cross-platform utility capable of running on any operating system that comes with Java support (e.g. Mac OS X, Windows, Linux).
- Solves a couple of bugs related to method resolving.