Creates and attaches a stub of the Client#send() method. Only this single method is mocked. If method is already a stub, it's replaced.
Client#send()
Client type or instance to replace the method
Client
Optional sinon sandbox to use
Optional
Stub allowing to configure Client's behavior
Creates and attaches a stub of the
Client#send()
method. Only this single method is mocked. If method is already a stub, it's replaced.