-
Notifications
You must be signed in to change notification settings - Fork 584
ReleaseNotes136
Johan Haleby edited this page Jul 23, 2015
·
2 revisions
Support for Mockito 1.8.3 and EasyMock 2.5.2.
- Fixed a bug in the Wildcard matcher which resulted in that classes located in packages containing "junit.", "java.", "sun." in their name was never prepared for test (issue 225).
- The PowerMock API extension to EasyMock is not backward compatible with EasyMock class extension versions prior to 2.5.2 because of internal changes in this project.
- Upgraded the Mockito extension to use Mockito 1.8.3
- Added support for Mockito annotations @Spy, @Captor and @InjectMocks
- Mockito extension now supports real partial mocking for private (and private final) methods (both static and instance methods) using PowerMockito.doReturn(..), PowerMockito.doThrow(..) etc
- Added support for MockSettings and Answers when creating class or instance mocks in Mockito extension, e.g:
FinalClass mock = mock(FinalClass.class, Mockito.RETURNS_MOCKS);
- Upgraded the EasyMock extension to use EasyMock class extensions 2.5.2
See change log for more details