function mockSpellCheckingFunction(words, spellChecker, callback) {
  const len = words.length;
  const data = [];
  for (let i = 0; i < len; i++) {
    const word = words[i];
    const status = TEST_DATA[word][0];
    const suggestions = TEST_DATA[word][1];
    data.push([word, status, suggestions]);
  }
  callback.call(spellChecker, data);
}
@param {!Array<string>} words
@param {!Object} spellChecker
@param {!Function} callback