swift-fakes
swift-fakes copied to clipboard
Support dynamic response from Spy
In Python's Mock, you can configure the side_effect
property to call a function when the mock is called.
Spy should offer similar behavior.