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
Inline whenever to let Mockito's UnfinishedStubbing messages work
When Mockito detects unfinished stubbing, it will spit out an error containing:
```
Unfinished stubbing detected here:
-> at com.nhaarman.mockitokotlin2.OngoingStubbingKt.whenever(OngoingStubbing.kt:42)
```
This is not useful in helping users track down unfinished stubbing. Instead, we inline `whenever`
to make it read as:
```
Unfinished stubbing detected here:
-> at com.me.MyTest.testMyThing(MyTest.kt:785)
```
0 commit comments