资 源 简 介
Project has moved to http://github.com/krka/mockachino
News
2011-10-16 - Release 0.6.0
* Removed option to add extra interfaces on mocks.
* Added utility method assertThrows. Works on both mocks and regular objects.
* Spy now works automatically on final, anonymous classes and proxy classes as long as there exists an interface to spy through.
* Added chaining of thenReturn / thenThrows / thenAnswer when stubbing.
* Fixed deep mock concurrency bug.
* Fixed bug with wrong exception being thrown for spies.
2011-01-21 - Release 0.5.1
* Replaced the guice dependency with a much lighter gentyref dependency.
* Added more versatile verification modes.
* Added stubbing of all methods on a mock.
* Implemented support for timeout.
* when ... throws now rejects invalid exceptions.
* when ... throws now creates a new exception instance for each invocation.
* Removed MockContext
Release 0.5
* Added support for deep mocking with generics.
* Filt