Y
Hacker News
new
|
ask
|
show
|
jobs
by
kaczordon
1210 days ago
No, fakes are specifically designed to emulate the underlying dependency somehow so that you can assert on it’s state later. Stubs don’t try to do that at all and are mostly for returning a default response.