@Test
public void testSelectTracksWithMultipleAudioTracks() throws Exception {

  TrackGroupArray trackGroups = singleTrackGroup(buildAudioFormat("0"), buildAudioFormat("1"));
  TrackSelectorResult result =
      trackSelector.selectTracks(
          new RendererCapabilities[] {AUDIO_CAPABILITIES}, trackGroups, periodId, TIMELINE);
  assertThat(result.length).isEqualTo(1);
  assertAdaptiveSelection(result.selections.get(0), trackGroups.get(0), 0, 1);
}