Class: matlab.mock.actions.Invoke
Package: matlab.mock.actions
Action for mock object interaction or action subsequent to invoking function handle
then(action1)
then(action1,action2)
then(
specifies an action for mock
object interactions.action1
)
then(
specifies an action and a subsequent action for mock object interactions.action1
,action2
)
Each call to then
accepts up to two actions. To specify more
subsequent actions, use multiple calls to then
. For example, to specify
three actions, use action1.then(action2).then(action3)
.