describe('collector stream', function () {
      it('should connect socket', function () {
        var target = bus.getInstance(config)
        return target.connect().then(function () {
          collectorStub.bindSync.should.have.been.called