This assertion may never run. You *could* declare this test as async, and then invoke the `done` callback inside this handler, but failures there would be a little confusing. Probably better: pass this function to `sinon.spy`, and then write an assertion against its `callCount`.