@Test
public void initialBitrateEstimateOverwrite_whileOffline_setsInitialEstimate() {

  setActiveNetworkInfo(networkInfoOffline);
  DefaultBandwidthMeter bandwidthMeter =
      new DefaultBandwidthMeter.Builder(ApplicationProvider.getApplicationContext())
          .setInitialBitrateEstimate(123456789)
          .build();
  long initialEstimate = bandwidthMeter.getBitrateEstimate();
  assertThat(initialEstimate).isEqualTo(123456789);
}