static expectSegmentsToContain(segments, expected) {
    const actualData = segments.map((segment) => {
      expect(segment.data).toBeTruthy();
      return shaka.util.BufferUtils.toUint8(segment.data);
    });

    expect(expected.data).toBeTruthy();
    const expectedData = shaka.util.BufferUtils.toUint8(expected.data);

    expect(actualData).toContain(expectedData);
  }
@param {!Array<shaka.extern.SegmentDataDB>} segments
@param {shaka.extern.SegmentDataDB} expected