@Test
public void testShouldContinueLoadingWithTargetBufferBytesReached_untilMinBufferReached() {

  createDefaultLoadControl();
  makeSureTargetBufferBytesReached();
  assertThat(loadControl.shouldContinueLoading(/* bufferedDurationUs= */ 0, SPEED)).isTrue();
  assertThat(loadControl.shouldContinueLoading(MIN_BUFFER_US - 1, SPEED)).isTrue();
  assertThat(loadControl.shouldContinueLoading(MIN_BUFFER_US, SPEED)).isFalse();
  assertThat(loadControl.shouldContinueLoading(MAX_BUFFER_US, SPEED)).isFalse();
}