function verifyHelper(cues, text, time, bodyProperties, divProperties) {
    const data =
        shaka.util.BufferUtils.toUint8(shaka.util.StringUtils.toUTF8(text));
    const result = new shaka.text.TtmlTextParser()
        .parseMedia(data, time, 'foo://bar', /* images= */ []);
    shaka.test.TtmlUtils.verifyHelper(
        cues, result, bodyProperties, divProperties);
  }
@param {!Array} cues
@param {string} text
@param {shaka.extern.TextParser.TimeContext} time
@param {!Object} bodyProperties
@param {Object=} divProperties