Class: matlab.mock.TestCase
Package: matlab.mock
Create mock object
[mock,behavior]
= createMock(testcase)
[mock,behavior]
= createMock(testcase,superclass)
[mock,behavior]
= createMock(___,Name,Value)
[
creates a mock object and an associated behavior object.mock
,behavior
]
= createMock(testcase
)
[
creates a mock that derives from the mock
,behavior
]
= createMock(testcase
,superclass
)superclass
class.
[
creates a mock with additional options specified by one or more
mock
,behavior
]
= createMock(___,Name,Value
)Name,Value
pair arguments. You can use this syntax with any of
the arguments from the previous syntaxes.