wiremock-php icon indicating copy to clipboard operation
wiremock-php copied to clipboard

Allow request pattern instance

Open Jurigag opened this issue 8 months ago • 3 comments

This adds a change to allow RequestPattern to be used instead of RequestPatternBuilder. Use case for it is quite obvious for example:

We first use Wiremock::sutbFor which returns StubMapping instance, with RequestPattern being there. Then we can simply access that request pattern and pass it to verify method directly.

Jurigag avatar May 26 '25 11:05 Jurigag