Credit to devdocs.io

sinon 4