Any movement on this issue?
json-mapper/json-mapper has really nice support for choosing a strategy appropriate for the hosting environment.
It would be helpful for testing SDK integrations to be able to provide a mock
HttpClientInterface implementation. The
Square\SquareClient constructor explicitly builds an
Unirest\HttpClient making it challenging to inject alternative behavior.
Or if you have an another approach / suggestion for mocking