function ProcessingQueue(test) {
      _classCallCheck(this, ProcessingQueue);
      this.test = test;
      this.priorityCount = 0;
      this.unitSampler = null;

      // This is a queue of functions that are tasks within a single test.
      // After tests are dequeued from config.queue they are expanded into
      // a set of tasks in this queue.
      this.taskQueue = [];
      this.finished = false;
    }
@param {Function} test Reference to the QUnit.test() method