Main Content

matlab.mock.history.SuccessfulPropertyAccess class

Package: matlab.mock.history
Superclasses: matlab.mock.history.PropertyAccess

Representation of successful mock object property access

Description

A SuccessfulPropertyAccess instance represents the successful access of a mock object property value. 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 property involved in an interaction, returned as a string scalar.

This property is read-only.

Return value of the mock object property, returned as a scalar or an array. Value can have any data type.

Introduced in R2018a