Antoine Gagnon
12/23/2020, 2:50 PMreturns
to get the value instead of it staying the same
I have
val mockedRegistered = false
every {
user.isRegistered()
} returns mockedRegistered
But I want the returned value to change to true
when I change mockedRegistered
to true
, is there a way to do this?