Hey everyone! Probably a pretty basic question but I can’t seem to find a way to get this to work
Let’s say I’m mocking a function that returns a boolean, but I want that
returns
to get the value instead of it staying the same
I have
Copy code
val mockedRegistered = false
every {
user.isRegistered()
} returns mockedRegistered