MockRoundTrip

constructor(expected: <Error class: unknown class>?, respondWith: <Error class: unknown class>? = null)

Parameters

expected

the expected request. If null no assertions are made on the request

respondWith

the response to return for this request. If null it defaults to an empty 200-OK response