Main Content
clearMockHistory
Class: matlab.mock.TestCase
Namespace: matlab.mock
Clear history of mock object interactions
Syntax
clearMockHistory(testCase,mock)
Description
clearMockHistory(
clears the history of recorded mock object interactions. The testCase
,mock
)clearMockHistory
method does not clear mock object behaviors. To clear both interactions and behaviors, create
a new mock.
Input Arguments
Examples
Version History
Introduced in R2018b