Created
September 17, 2019 18:56
-
-
Save tzachz/bb5d8bdf03e25bd26f82dcf62f015fc4 to your computer and use it in GitHub Desktop.
Mockito gotcha: mockito impl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public <T> OngoingStubbing<T> when(T methodCall) { | |
mockingProgress.stubbingStarted(); | |
return (OngoingStubbing) stub(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment