tarttelin / JavaStubServer

An HTTP server used in tests to provide canned responses to expected requests.
http://tarttelin.github.io/JavaStubServer/
Other
6 stars 5 forks source link

Added support for stubs as well as the existing expectations. #7

Closed chris-h-barrett closed 11 years ago

chris-h-barrett commented 11 years ago

This adds a stub() equivalent to the existing expect() . Stubs are different to expectations in two ways; they will never fail verification and they will match with more than one request.