Main Content

matlab.mock.history.UnsuccessfulPropertyModification Class

Namespace: matlab.mock.history
Superclasses: matlab.mock.history.PropertyModification

Representation of unsuccessful mock object property modification

Description

A matlab.mock.history.UnsuccessfulPropertyModification object represents the modification 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

Value assigned to the mock object property, returned as a value of any data type.

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