ActionsAssertScope
It is a core API for all assertions. It provides all actions dispatched with a spying component. If assertion verifies certain action, it is responsible for pulling it from unverified queue. Queue enforces verifying actions from the oldest to the latest. Verifying actions is expected behaviour of every assertion, but there are assertions that check certain conditions without pulling from the queue. Also, action might be skipped. It means that it is removed from unverified without assertion.
If you want to provide your own assertion check existing assertions source code.
Functions
Clears history and unverified.
Properties
Inheritors
Extensions
Returns a string that contains list of all dispatched actions. The action recently pulled form the queue is marked with '->'.
Asserts that first unverified action is equal to action.
Asserts that first unverified action is an instance of type T. Also, it applies additional assertions.
Asserts that there are only actions dispatched in given order and no more.
Asserts that all dispatched actions count is equal to count. It does not pull any action from unverified queue.
Asserts that every unverified action matches the predicate.
Asserts that there is no dispatched actions.
Asserts that there is no unverified actions left.
Asserts that first unverified action is equal to action and it is the only one dispatched action.
Asserts that first unverified action is an instance of T and it is the only one dispatched action. Also, it applies additional assertions.
Returns first unverified action.
Prints information about dispatched actions based on actionStackString.
Skips first n unverified actions.
Skips actions while predicate is true.
Skips first unverified action.
Skips all unverified actions.