Class: matlab.mock.MethodCallBehavior
Package: matlab.mock
Specify mock object method behavior
when(behavior,action)
when(
specifies
the action that a mock object method takes when it is called with
the inputs defined by behavior
,action
)behavior
.