import matlab.unittest.constraints.IsLessThanOrEqualTo
testCase.verifyThat(behaviorObj.NumSides, ...
WasSet('ToValue',IsLessThanOrEqualTo(20)))
Interactive verification failed.
Framework Diagnostic:
WasSet failed.
--> Property 'NumSides' was not set to the specified value.
--> Observed property set(s) to any value:
Specified property set:
PropertySetBehavior
Summary of Qualifications
Type of
Qualification
TestCase Method matlab.mock.constraints Class
Use
matlab.unittest.Test
Case Method
With
matlab.mock.const
raints Class
Method was
called
verifyCalled or
verifyNotCalled
verifyThat WasCalled or
Occurred
assumeCalled or
assumeNotCalled
assumeThat
assertCalled or
assertNotCalled
assertThat
fatalAssertCall
ed or
fatalAssertNotC
alled
fatalAssertThat
Method was
called a
certain
number of
times
Not applicable verifyThat,
assumeThat,
assertThat, or
fatalAssertThat
WasCalled
Qualify Mock Object Interaction