Hi all,
I'm a bit confused. I'm looking at code that's about 18 months old, and I see a lot of wireMock.register(post(urlMatching(... - yet when I look at the docs (e.g. [1]), I see stubFor(get(urlEqualTo(...
How do they go together?
I know I can replace stubFor with expectThat, but that's different, right?
I want to record stubs, so my service can later call WireMock, which I want to return stubs to my service.
Also, why do I tell the client (wireMock) what the stub should be...?
Coming to think of it, I'm probably most confused why there is a WireMock client involved to begin with.
Can somebody please point me at the right places in the docs? I just can't seem to find them...
Thanks!
Kind regards,
Christian