@Test
public void testGetNextLoadPositionUsReturnMinimumLoaderNextLoadPositionUs() {

  FakeSequenceableLoader loader1 =
      new FakeSequenceableLoader(/* bufferedPositionUs */ 1000, /* nextLoadPositionUs */ 2001);
  FakeSequenceableLoader loader2 =
      new FakeSequenceableLoader(/* bufferedPositionUs */ 1001, /* nextLoadPositionUs */ 2000);
  CompositeSequenceableLoader compositeSequenceableLoader = new CompositeSequenceableLoader(
      new SequenceableLoader[] {loader1, loader2});
  assertThat(compositeSequenceableLoader.getNextLoadPositionUs()).isEqualTo(2000);
}