Last active
June 7, 2018 03:22
-
-
Save lfn3/035ff5f3c218b6763d7ac9da82b947ea to your computer and use it in GitHub Desktop.
JMock -> Mockito Regexes
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
allowing\((.+)\)\.(\w+\(.*\));\n\s*will\(returnValue\((.*)\)\); | |
given($1.$2).willReturn($3); | |
oneOf\((.+)\)\.(.+); | |
verify($1).$2; | |
ignoring\(.+\); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment