hi there. in a unit test, i want to call a stubbed...
# general
s
hi there. in a unit test, i want to call a stubbed api method twice.. but on each iteration I'd like it to return a different body. How do I set this up please?
m
Hi Scott You could use scenarios for this: https://wiremock.org/docs/stateful-behaviour/
s
works a treat.. thanks👍
m
No worries