wiremock-php
wiremock-php copied to clipboard
Allow request pattern instance
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.