JMock, What should you do when the mock object gets casted to a concrete class?
-
29-10-2019 - |
Question
Not sure how I should be asking the question, but when I define my mock objects, and somewhere in the code it attempts to cast it to a different type the test throws me
$Proxy6 cannot be cast to ...
How does one solve this problem?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow