Package-level declarations
Types
A scriptable AuthorizationProvider for tests. Tracks how many times a refresh was requested and can simulate refresh success or failure.
A controllable ReachabilityGate for tests. Starts reachable (default true, so awaitReachable returns immediately); flip it with setReachable to make a pending awaitReachable resume. awaitCount records how many times the gate was awaited.
A NetworkEventListener that records every emitted NetworkEvent for assertions.
A RetryPolicy that records every decision and forwards to delegate, so tests can assert how many retries happened, for which errors, and with what delays. Defaults to wrapping a DefaultRetryPolicy.
Functions
Builds a NetworkClient backed by a Ktor MockEngine driven by handler. Intended for unit tests of code that depends on kenwork — no real sockets are opened.