it('should open a pub 0MQ socket', function () {
        bus.getInstance(config)
        zmq.socket.should.have.been.calledWith('pub')
      })