function checkContentIsEmojiImages(page, emojiList, defaultImg) {
  const content = page.getContent();

  for (let i = 0; i < content.length; i++) {
    const url = getImageUrl(content[i]);
    if (i < emojiList.length) {
      assertTrue(
          `Paths should end with the same file: ${url}, ` + emojiList[i][0],
          checkPathsEndWithSameFile(url, emojiList[i][0]));
    } else {
      assertTrue(
          `Paths should end with the same file: ${url}, ${defaultImg}`,
          checkPathsEndWithSameFile(url, defaultImg));
    }
  }
}
Checks that the content of an emojipicker page is the specified emoji and
the default img after the emoji are all used.
@param {!EmojiPalette} page The page of the picker to check
@param {Array<Array<string>>} emojiList List of emoji that should be in the
    palette
@param {string} defaultImgUrl The url of the default img
@suppress {checkTypes} suppression added to enable type checking