# Functions
MockBody creates a mock body that can be added to a response.
MockResponse creates a mock client that will return the given response on the body.
MockResponses creates a mock client with a series of canned responses.
# Structs
ClosingBuffer embeds a bytes.Buffer, giving it a Read method required for a Response Body ReadCloser body.
MockClient is responsible for stubbing requests in tests if the Response field is set, the mock client will respond to each request with the Response If Responses is set, the mock client will match subsequent requests to subsequent responses, moving along the array of Responses once for each request.
# Interfaces
Client is used with http.Client and MockClient to allow mocking of services.