Last active
May 20, 2020 17:02
-
-
Save patxibocos/381cde7005e8102bf7373733cd7769d5 to your computer and use it in GitHub Desktop.
requestOverrideRuleExample.kt
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
| @get:Rule | |
| RequestOverrideRule( | |
| MockedRequest( | |
| method = GET, | |
| url = "/example/endpoint", | |
| jsonBody = json { | |
| "intProperty" to 0 | |
| "stringProperty" to "test" | |
| } | |
| ) | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment