Ah ha, figured it out once I looked up the `sinon` docs.