code: function(credentials){
    //this is internal to the mock to give option to the dev to change the tweet mocks
    credentials = typeof credentials === 'undefined' ? {} : credentials;
    credentials.tweets = typeof credentials.tweets === 'undefined' ? require('./data/tweets.json') : credentials.tweets;
    credentials.singleRun = typeof credentials.singleRun === 'undefined' ? true : credentials.singleRun;
    credentials.tweetDelay = typeof credentials.tweetDelay === 'undefined' ? 100 : credentials.tweetDelay;
    this._tweetsMock = credentials.tweets;
    this._singleRun = credentials.singleRun;
    this._tweetDelay = credentials.tweetDelay;
  }
docs: /*
  Mock for the twitter api client twit
  No oAuth request will be made
  @param {Object} [credentials] @optional (since it's a mock, no credentials needed
  @param {Array} [credentials.tweets] @optional (by default will load `/mocks/data/tweets.json`)
  @param {Boolean} [credentials.singleRun=true] @optional if false will loop on the tweets mock array until you call stop (default true)
  @param {Number} [credentials.tweetDelay=100] @optional delay between each tweets emitted in ms (default 100ms)