Return Different Values for Each Call of A Mock

📝

内容提要

When unit-testing a function that make multiple external calls/requests, we want to mock the actual call and return the mock results. For each call, we might want to return different results.

➡️

继续阅读