@Test
public void initialBitrateEstimateOverwrite_for3G_whileConnectedTo3G_setsInitialEstimate() {

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