don't use Array.prototype.forEach in mocks