You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with this method one can define mock for class
val someMock = mock<Object>()
and then define stubs in test
someMock.stub {
on { something } doReturn somethingElse
}
It is useful when some tests reuse mock object but with different stubbing
0 commit comments