code: function loadMock (mockData, options) {
      // make sure options is object
      options = requireValidOptionalObject(options)
      // load mock data from either array or object
      Array.isArray(mockData)
          // if data is array then load each mock in array
          ? _.each(mockData, mockData => _loadMock(mockData, options))
          // load mock data object
          : _loadMock(mockData, options)
  }
docs: @function loadMock
  
  load mock data
  
  @param {object|array} mockData
  @param {object} options
  
  @throws {Error}