When you simply copy & paste the example of Stub and Verify Behavior into a test it fails.
We stumbled upon it, when actually trying to verify multiple calls and were wondering why the count is off, especially after looking at the example.
Maybe this helps better in understanding how it works?
Type of Change
[ ] โจ New feature (non-breaking change which adds functionality)
[ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
[ ] โ Breaking change (fix or feature that would cause existing functionality to change)
Status
READY
Breaking Changes
NO
Description
When you simply copy & paste the example of Stub and Verify Behavior into a test it fails. We stumbled upon it, when actually trying to verify multiple calls and were wondering why the count is off, especially after looking at the example. Maybe this helps better in understanding how it works?
Type of Change