testing library

Test helpers for code built on this package.

Exported so an integrator can drive the client without a network.

Classes

FakeAutoCapture
An SmsAutoCapture a test drives by hand, and can assert against.
FakeTransport
A transport that returns scripted responses and records what it was asked.
HttpRequest
A request the SDK is about to send.
HttpResponse
A response the SDK received.

Typedefs

HttpTransport = Future<HttpResponse> Function(HttpRequest request)
Sends a request and returns its response.