Join Slack
Powered by
Hello, is there a solution for using `whenever(it....
# mockk
k
Kev
03/25/2024, 12:17 PM
Hello, is there a solution for using
whenever(it.foo(any()).thenReturn(null))
where foo’s parameter is a value class? I keep getting
unbox-impl()
error’s when trying to do this. If I use an explicit value then it works as expected.
Open in Slack
Previous
Next