Main Content

matlab.mock.history.UnsuccessfulPropertyAccess Class

Namespace: matlab.mock.history
Superclasses: matlab.mock.history.PropertyAccess

Representation of unsuccessful mock object property access

Description

A matlab.mock.history.UnsuccessfulPropertyAccess object represents the accessing of a mock object property value that threw an error. The mocking framework instantiates this class. You do not need to create an object of the class directly.

Class Attributes

Sealed
true

For information on class attributes, see Class Attributes.

Properties

expand all

Name of the mock object property, returned as a string scalar.

Attributes:

GetAccess
public
SetAccess
immutable

Error thrown by the mock object interaction, returned as an MException object.

Attributes:

GetAccess
public
SetAccess
immutable

Version History

Introduced in R2018a