Example with callbacks Here you will find a real example for a Model mock and a Document mock. Usage Inside this folder run npm install npm test