Main Content
withAnyInputs
Class: matlab.mock.MethodCallBehavior
Namespace: matlab.mock
Specify mock object method call with any number of inputs with any value
Syntax
callBehavior = withAnyInputs(behavior)
Description
callBehavior = withAnyInputs(
returns a
behavior
)MethodCallBehavior
object to define behavior when mock object method
is called with any number of inputs that can have any value.
Input Arguments
Examples
Version History
Introduced in R2017a