- MOD: Add
role: Maintainerto composer.json
- MOD: Add Nick Shipes as a maintainer
- ADD:
zeroOrMoreTimesexpectation - MOD: Improve error messages on no matching request expectation
- FIX: Check for null response body, before attempting to parse
- FIX: minor error handling fix
- FIX: Throw CompoundException on request with multiple failures
- ADD: Accept custom callables for all expectations
- ADD: Add custom expectation callables:
Any,ArrayContains,ArrayEquals,Equals,Matches - MOD: Refactor
RequestExpectationto use callables for all request validations
- FIX: Was not properly comparison request bodies containing null data values.
- FIX: Fix incorrect 'call count' exception message
See git history for a full list of changes
- ADD: Initial project setup
- ADD: GuzzleHttpMock\Mock
- ADD: RequestExpectations: withUrl withMethod withQuery withQueryParams withJsonContentType withBody withBodyParams withJsonBodyParams once times
- ADD: Mock response methods: andResponseWith andResponseWithContent andRespondWithJson
- ADD: Documentation (README.md)