@Test
public void testContinueLoadingReturnAllowAllLoadersBehindPlaybackPositionToLoad() {

  FakeSequenceableLoader loader1 =
      new FakeSequenceableLoader(/* bufferedPositionUs */ 1000, /* nextLoadPositionUs */ 2000);
  FakeSequenceableLoader loader2 =
      new FakeSequenceableLoader(/* bufferedPositionUs */ 1001, /* nextLoadPositionUs */ 2001);
  FakeSequenceableLoader loader3 =
      new FakeSequenceableLoader(/* bufferedPositionUs */ 1002, /* nextLoadPositionUs */ 2002);
  CompositeSequenceableLoader compositeSequenceableLoader = new CompositeSequenceableLoader(
      new SequenceableLoader[] {loader1, loader2, loader3});
  compositeSequenceableLoader.continueLoading(3000);
  assertThat(loader1.numInvocations).isEqualTo(1);
  assertThat(loader2.numInvocations).isEqualTo(1);
  assertThat(loader3.numInvocations).isEqualTo(1);
}