Main Content

matlab.mock.history.UnsuccessfulPropertyModification class

Package: matlab.mock.history
Superclasses: matlab.mock.history.PropertyModification

Representation of unsuccessful mock object property modification

Description

An UnsuccessfulPropertyModification instance represents the modification of a mock object property value that threw an exception. 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.

Value assigned to mock object property, returned as a scalar or an array. Value can have any data type.

This property is read-only.

Exception produced by mock property modification, returned as a scalar MException object.

Introduced in R2018a