Replying to
@NicolasRinaudo@functional.cafe @danicheg@indieweb.social
Mocks should only be mocking behaviour not data. It’s unnecessary and undermines the value of mocking as a technique which exposes behaviours.
The presence of multiple mocks should be taken as a signal that the code is encapsulating more behaviours than it should and should be refactored to reduce the number of required mocks / implementation concerns.