A QUnit assert plugin to test callback. You can easily assert that the callback can (only) be called at the correct moment.