Credit to devdocs.io

sinon 3

sinon / Migrating to v3.0