@Test
public void
    initialBitrateEstimateOverwrite_for3G_whileConnectedToOtherNetwork_doesNotSetInitialEstimate() {

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