New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mocked class + Cascading class with similar name in same package = NoSuchMethodException #57
Labels
Comments
Full unit test to reproduce:
|
Thanks for the report; it's a weird bug, indeed. |
Yes, perhaps a more realistic example is legacy code following a "value object" pattern, where two class names differ only by a suffix, e.g. "Employee" and "EmployeeVO". That's how I encountered it initially. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use case:
Result : When recording the expectations block, a NoSuchMethodException is thrown and causes a test failure.
The text was updated successfully, but these errors were encountered: