mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 09:09:01 +00:00
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