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
trying to stub/mock a java class which accepts varargs in a constructor should work
But compilation fails with the following message
[error] found : String* [error] required: String [error] val site = stub[MyClass] [error] ^
public class MyClass { public MyClass(String... varargs) { } }
test("my failing test") { val s = stub[MyClass] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ScalaMock Version 4.1.0
Scala Version 2.12
Runtime JVM
Please describe the expected behavior of the issue
trying to stub/mock a java class which accepts varargs in a constructor should work
Please provide a description of what actually happens
But compilation fails with the following message
Reproducible Test Case
The text was updated successfully, but these errors were encountered: