CollectParcelsCall

class CollectParcelsCall(result: Result<Flow<ParcelCollection>>) : MockMethodCall<CollectParcelsArgs, Flow<ParcelCollection>>

Mock call to collect parcels.

Parameters

result

The flow of parcel collections to return to mimic a success scenario, or the exception to throw in a failure scenario.

Constructors

Link copied to clipboard
constructor(result: Result<Flow<ParcelCollection>>)

Properties

Link copied to clipboard

The arguments with which the call was made.

Link copied to clipboard

Report whether the method call was actually called.