'use strict';

function MockDisposable (scheduler) {
  this.scheduler = scheduler;
  this.disposes = [];
  this.disposes.push(this.scheduler.clock);
}

MockDisposable.prototype.dispose = function () {
  this.disposes.push(this.scheduler.clock);
};

module.exports = MockDisposable;
