Main Content

matlab.mock.history.SuccessfulMethodCall class

Package: matlab.mock.history
Superclasses: matlab.mock.history.MethodCall

Representation of successful mock object method call

Description

A SuccessfulMethodCall instance represents a call to a mock object method that ran to completion. 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.

This property is read-only.

Outputs returned from a mock object method, returned as a cell vector.

Introduced in R2018a