then
Class: matlab.mock.actions.ThrowException
Namespace: matlab.mock.actions
Action for mock object interaction or action subsequent to throwing exception
Syntax
then(action1)
then(action1,action2)
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 R2017a