function verifyPlaylist(expectedPlaylist, playlistText) {
    const playlistBuffer = shaka.util.StringUtils.toUTF8(playlistText);
    const actualPlaylist = parser.parsePlaylist(playlistBuffer);
    expect(actualPlaylist).toEqual(jasmine.objectContaining(expectedPlaylist));
  }
@param {!Object} expectedPlaylist
@param {string} playlistText