# Functions
Request is a testing helper function that makes an HTTP request using provided client with provided method and url.
WithContext sets a context to the request made by the Request function.
WithExpectedJSONResponse validates that the response from the request in the Request function matches JSON-encoded body provided here.
WithExpectedResponse validates that the response from the request in the Request function matches completely bytes provided here.
WithJSONRequestBody writes a request JSON-encoded body to the request made by the Request function.
WithMultipartRequest writes a multipart request with a single file in it to the request made by the Request function.
WithNoResponseBody ensures that there is no data sent by the response of the request in the Request function.
WithPutResponseBody replaces the data in the provided byte slice with the data from the response body of the request in the Request function.
WithRequestBody writes a request body to the request made by the Request function.
WithRequestHeader adds a single header to the request made by the Request function.
WithUnmarshalJSONResponse unmarshals response body from the request in the Request function to the provided response.
# Interfaces
No description provided by the author