MockOperationHandler class final
Applies the compiled mocks operation at the session boundary.
The compiler carries resolved responses in a private wire field so the operation remains serializable. Decoding here keeps runtime execution from reconstructing a legacy TestStep solely to apply API mocks.
Constructors
- MockOperationHandler(LocalTestExecutionSession session)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- session → LocalTestExecutionSession
-
final
Methods
-
apply(
OperationInput input) → Future< void> -
Applies the operation selected by the registry's
api.mockskey. -
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