code: function (eventStore) {
      if (!eventStore || !_.isObject(eventStore)) {
        var err = new Error('Please pass a valid eventStore!');
        debug(err);
        throw err;
      }
      this.eventStore = eventStore;
    }
docs: Injects the needed eventStore.
  @param {Object} eventStore The eventStore object to inject.