matlab.mock.history.MethodCall class

Package: matlab.mock.history
Superclasses: matlab.mock.InteractionHistory

Representation of mock object method call

Description

A MethodCall instance represents a call to a mock object method. The framework constructs instances of the class, so there is no need to construct this class directly.

Properties

expand all

This property is read-only.

Name of the mock object method called during an interaction, returned as a string scalar.

This property is read-only.

Inputs passed to mock object method, returned as a cell vector.

Introduced in R2018a