AuthTestDeliveryLog<T> class
final
Captures provider delivery payloads without logging or serializing them.
The raw values remain in memory only and are exposed through values so a test can complete the corresponding flow. failNext and gateNext make provider failures and concurrent delivery easy to arrange.
Constructors
Properties
Methods
-
capture(
T value) → Future< void> -
Records
value, then applies any configured gate or failure. -
clear(
) → void - Removes every captured payload and pending behavior.
-
failNext(
Object error, [StackTrace? stackTrace]) → void -
Configures the next capture call to throw
errorafter recording it. -
gateNext(
AuthTestGate gate) → void -
Pauses the next capture call at
gateafter recording the payload. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited