Added support for javax.annotations 1.0 (@Resource, @PostConstruct, and @PreDestroy); refactored code for @Tested, extracting new classes and moving inner classes to top level; JUnit integration now sets tested fields to null after each test, as was already done for TestNG. Closes #13.
Fixed bug when obtaining the default EntityManager.
Refactoring: extracted new helper classes for @Tested support.
Incremented version number to 1.11.
Fixed bug in @Capturing support, when applied to multiple types while also making use of mocking filters through @Mocked("..."). Fixes #20.
Minor optimization.
Enhancement to dynamic partial mocking with non-strict expectations: future objects that don't match a recorded constructor invocation now execute real implementations during replay.
Removed obsolete "TODO" item.
Enhancement to @Capturing: a capturing mocked interface can now be partially mocked with "new [NonStrict]Expectations(TheInterfaceType.class)". Closes #21.
Enhancement to @Capturing: a capturing mocked class can now be partially mocked with "new [NonStrict]Expectations(TheBaseClass.class)".
Refactoring: extracted common base class for the generation of interface implementations.
Refactoring: eliminated code duplication when generating class implementations for interfaces and abstract classes.
Refactoring: extracted common base class for generation of abstract class subclasses.
Enhancement (in progress): MockUp#getMockInstance() can now create and return subclass instance for mocked abstract class.