@Test
public void testShouldContinueLoadingWithMinBufferReached_inFastPlayback() {

  createDefaultLoadControl();
  // At normal playback speed, we stop buffering when the buffer reaches the minimum.
  assertThat(loadControl.shouldContinueLoading(MIN_BUFFER_US, SPEED)).isFalse();
  // At double playback speed, we continue loading.
  assertThat(loadControl.shouldContinueLoading(MIN_BUFFER_US, /* playbackSpeed= */ 2f)).isTrue();
}