Fix compatibility with Mockito 2.0
Update MockDefinition to only call `Answers.get()` if a direct cast isn't possible. This provides compatibility with Mockito 2.0 (currently 2.0.47-beta) without breaking support for Mockto 1.x. Closes gh-6323
Showing
Please register or sign in to comment