@Test
public void parseMediaPresentationDescription_labels() throws IOException {

  DashManifestParser parser = new DashManifestParser();
  DashManifest manifest =
      parser.parse(
          Uri.parse("https://example.com/test.mpd"),
          TestUtil.getInputStream(
              ApplicationProvider.getApplicationContext(), SAMPLE_MPD_LABELS));
  List<AdaptationSet> adaptationSets = manifest.getPeriod(0).adaptationSets;
  assertThat(adaptationSets.get(0).representations.get(0).format.label).isEqualTo("audio label");
  assertThat(adaptationSets.get(1).representations.get(0).format.label).isEqualTo("video label");
}