 mockRequire = require("mock-require")
 sinon = require("sinon")
+_ = require("lodash")
 
 mockRequire("../../../oxalis/model/binary/pullqueue", {
   prototype : {


      cube.labelVoxel([1, 1, 1], 42)

      setTimeout((->
        expect(pullQueue.add.calledWith({
            bucket: [0, 0, 0, 0],
            priority: 123})

        expect(pullQueue.add.called).toBe(true)

        done()

