We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example given the following class:
class MyClass { private suspend myPrivateCall(arg1) { } }
And then in the test:
val myClassSpy = spyk(MyClass()) every { myClassSpy["myPrivateCall"](arg1) } returns "something"
Throws: java.lang.IllegalArgumentException: Callable expects X arguments, but Y were provided.
java.lang.IllegalArgumentException: Callable expects X arguments, but Y were provided.
This only happens if the function is suspend private function.
suspend private
The text was updated successfully, but these errors were encountered:
Thanks. Let me check it
Sorry, something went wrong.
fixes for #48
8049b7e
Version 1.7.14 released, please check if it fixes the issue and close the ticket
No activity, closing
thanks!
No branches or pull requests
For example given the following class:
And then in the test:
Throws:
java.lang.IllegalArgumentException: Callable expects X arguments, but Y were provided.
This only happens if the function is
suspend private
function.The text was updated successfully, but these errors were encountered: