Hi all, Can you give me some tips why I cannot stu...
# mockk
s
Hi all, Can you give me some tips why I cannot stub the BigInteger property of this mock? It just stays at null.
Copy code
val myMockWithBigInteger = mockk<MyTypeWithBigInteger>().also { myMock ->
            every { myMock.bigIntProp } answers {
                if (shouldExist) BigInteger.valueOf(aLongValue) else nothing
            }
        }