SMAssertObject<S extends Object, A extends Object> class final

This class is used to store the test case information.

Constructors

SMAssertObject({required A action, S? afterState, List<SideEffect> createdSideEffect = const []})
Creates a test case object.
const

Properties

action → A
The action to be dispatched.
final
afterState → S?
The expected state after the action is dispatched.
final
createdSideEffect List<SideEffect>
The expected side effect after the action is dispatched.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createFailMessage(TesterStateMachine<Object, Object> stateMachine) String
Create a fail message.
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