-
Notifications
You must be signed in to change notification settings - Fork 100
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
NullPointerException trying to use AsyncMockFactory in async scalatest #215
Comments
Hi I just recently merged PR #214 which sounds very similar. Could you please try the latest snapshot build and let me know if that works? resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots" and scalamock version "4.1.0-SNAPSHOT" |
4.1.0-SNAPSHOT works properly. |
BTW, thanks for the quick response! |
Will add a comment here when 4.1.0 is published (aiming for Feb 17th) |
Getting same error in version 4.0.0 4.1.0-SNAPSHOT works. |
4.1.0 is syncing with maven central right now |
ScalaMock Version
4.0.0
Scala Version
2.12.4
Runtime
JVM 1.8
Please describe the expected behavior of the issue
Using "scalatest" % "3.0.5" & sbt.version=1.1.0, I expect to execute simple async test using AsyncMockFactory.
Please provide a description of what actually happens
Examples compile, but throw NullPointerException at runtime.
Reproducible Test Case
Also, if I try to downgrade to scalamock 3.6.0, I get
The text was updated successfully, but these errors were encountered: