Main Content
then
Class: matlab.mock.actions.DoNothing
Namespace: matlab.mock.actions
Action for mock object interaction or action subsequent to taking no action
Since R2020a
Description
Input Arguments
Examples
Tips
Each call to
then
accepts up to two actions. To specify more subsequent actions, use multiple calls tothen
. For example, to specify three actions, useaction1.then(action2).then(action3)
.
Version History
Introduced in R2020a