Some updates to the mocking APIs proposed for Java 8.
Fixed bug where a @Cascading class with name starting with the name of another class was inadvertently used for the other. Closes #57.
Removed unused mock parameter.
Changed @Mocked to @Injectable in some tests where the second is more appropriate.
Added missing @Override.
Simplified an old test.
Adapted test for JDK 1.6.
Classes "java.io.FileOutputStream" and "java.io.PrintWriter" can no longer be mocked fully (with @Mocked), to prevent robustness issues.
Added "redundant" dependency to avoid mal-formed Java EE 6 Persistence class.
Refactoring: removed unnecessary boolean parameter.
Refactoring: merged subclass into immediate superclass.
Refactorings: additional cleanup of code handling mock fields.
Refactoring: removed field that went unused.
Enhancement: added support for @Tested and @Mocked on the same field. Closes #48.
Coding adjustments only.
Fixed regression when a @Tested+@Mocked class was recovered from cache.
Refactoring: extracted a subclass.
Updated sample tests to take advantage of @Tested+@Mocked for partial mocking of tested classes.
Fixed bug in execution of @PreDestroy methods, where previous @Tested instances were not discarded.
Fixed tests broken due to new restriction against "@Mocked PrintWriter".