VerificationResultX extension

on
  • VerificationResult

Methods

allCapturedAs<T>() List<T>

Available on VerificationResult, provided by the VerificationResultX extension

Cast all captured arguments. Replaces: verify(...).captured.cast<MyType>()
capturedAs<T>() → T

Available on VerificationResult, provided by the VerificationResultX extension

Cast single captured argument. Replaces: verify(...).captured.single as MyType