PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
Apache License 2.0
273
stars
92
forks
source link
refactor: Apply Visitor pattern for ContentType matcher #592
There are a lot of
if
conditions inPluginFormatter
. I thinkVisitor
pattern can be applied to solve this.