Created
August 6, 2021 09:08
-
-
Save frootloops/baf347d83139b921c91479bfca2c2300 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
someMockFunc.succeeds(.sample()) // if ouput is Result<T> | |
someMockFunc.fails(error) // if ouput is Result<T> | |
someMockFunc.returnsNil() // if ouput is T? | |
someMockFunc.returns() // if ouput is Void | |
expect(someMockFunc).to(beCalled()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment