Credit to devdocs.io

sinon 3

sinon / JSON-P