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 |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||
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 |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||