Mock.js is a Javascript testing utility that allows the user to 'fake' Javascript objects in order to test the flow of function executions.