|Top Previous Next|
Isolator++ Professional allows you to fake a chain of called in one command.
Note: Deep Chaining also supports Conditional Behavior Faking
When you use Deep Chaining every method in the chain gets mocked and their behavior is set to default,
or if the method is void it will be set to be ignored.
In the following example the GetLocation method is being set to return a fake GPSLocation even if it's not literally faked in the test.
And when the chain get called in the GetLocationLatitude method it will return the value we set it to return.
Copyright Typemock Ltd. 2009-2020. All Rights Reserved.