MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
Behavior TestCase Method matlab.mock.Actions
Class (Allows for
Definition of Repeat and
Subsequent Behavior)
Store value when property
is set.

storeValueWhen StoreValue

Throw exception when
method is called or when
property is set or accessed.

throwExceptionWhen ThrowException

See Also


matlab.mock.TestCase | matlab.mock.actions.AssignOutputs |
matlab.mock.actions.ReturnStoredValue | matlab.mock.actions.StoreValue
| matlab.mock.actions.ThrowException


Related Examples



  • “Create Mock Object” on page 33-200


See Also
Free download pdf