ITV / scala-pact

A Scala implementation of CDC using the Pact standard
Other
108 stars 54 forks source link

ScalaPactInteraction: add `uponReceiving(ScalaPactRequest)` and `willRespondWith(ScalaPactResponse)` methods #222

Closed agustafson closed 3 years ago

agustafson commented 3 years ago

Seemed to make sense to add uponReceiving(ScalaPactRequest) and willRespondWith(ScalaPactResponse) methods so that users could re-use existing requests or responses that they already have in scope.