You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JvmInline
value class A(val value: String)
interface Foo {
fun bar(a: A, b: String)
}
mocker.every { mockFoo.bar(isAny(), isAny()) } returns Unit
throws java.lang.NullPointerException: Parameter specified as non-null is null: method bar, parameter a
This only happens when using constraints to define the method's behavior. It runs with success when replacing the constraints with values. It seems there's no support when using inline value classes, which would be a big plus.
The text was updated successfully, but these errors were encountered:
Following scenario
throws
java.lang.NullPointerException: Parameter specified as non-null is null: method bar, parameter a
This only happens when using constraints to define the method's behavior. It runs with success when replacing the constraints with values. It seems there's no support when using inline value classes, which would be a big plus.
The text was updated successfully, but these errors were encountered: