unirest-java v3.13.1 Release Notes
-
- ➕ add some new features to MockClient
- mockClient.reset() will clear any expectations
- mockClient.defaultResponse() returns a default response expectation for when an explicit expectation was not matched
- thenReturn(Supplier supplier) allows you to set the response body as a supplier to be invoked at request time.
- ➕ add some new features to MockClient