Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Don't Use Mocks. Parent comment
A mock is a cache for a desired return value (which is hopefully what the real interface would correctly return).
There are no comments on this comment yet.
A mock is a cache for a desired return value (which is hopefully what the real interface would correctly return).