Steffen Haase
01/25/2021, 12:56 PMrelaxed=true. my env is kotlin, mockk and kotest .
relaxed - allows creation with no specific behaviourin my case I expect an unspecified SimpleDataClass, something like
SimpleDataClass(a = null). In debug mode I can see that a = null but if( a != null) is true.
I created a litte playground https://github.com/cryptoki/kotest-mockk-relaxed
The picture shows the debugger output. Any ideas why the behaviour is like that? With relaxed=true there is a big space for mistakes if I’m bit lazy with my test. thanks.