I have a test method in my common module which has...
# multiplatform
y
I have a test method in my common module which has this line:
every { bookingTaskSchedulerMock.sendCashReceived(any(), any()) } throws RuntimeException("error happened")
But I’m getting an unresolved reference for RuntimeException. Why does this happen in my test class but not in my main classes?