Decathlon / tzatziki

Decathlon library to ease and promote Test Driven Development of Java microservices!
Apache License 2.0
63 stars 30 forks source link

"Assert has received" conflict if multiple patterns matching the path of the request #206

Closed alexandrepa closed 10 months ago

alexandrepa commented 10 months ago

Example : Mock in background : /test/S(.)/path/C(.)

Mock in the test : /test/S1/path/C2

If "Assert has received" in test, request matching will be test only with /test/S(.)/path/C(.) path because we do a finfFirst in MockFaster retrieveRequestResponses.

=> Solution, check fo each path and not only first.