@Test
@SuppressWarnings("deprecation")
public void defaultInitialBitrateEstimate_withoutContext_isReasonable() {

  DefaultBandwidthMeter bandwidthMeterWithBuilder =
      new DefaultBandwidthMeter.Builder(/* context= */ null).build();
  long initialEstimateWithBuilder = bandwidthMeterWithBuilder.getBitrateEstimate();
  DefaultBandwidthMeter bandwidthMeterWithoutBuilder = new DefaultBandwidthMeter();
  long initialEstimateWithoutBuilder = bandwidthMeterWithoutBuilder.getBitrateEstimate();
  assertThat(initialEstimateWithBuilder).isGreaterThan(100_000L);
  assertThat(initialEstimateWithBuilder).isLessThan(50_000_000L);
  assertThat(initialEstimateWithoutBuilder).isGreaterThan(100_000L);
  assertThat(initialEstimateWithoutBuilder).isLessThan(50_000_000L);
}