TrackSelector { protected final BandwidthMeter getBandwidthMeter() { return Assertions.checkNotNull(bandwidthMeter); }  final void init(InvalidationListener listener, BandwidthMeter bandwidthMeter); abstract TrackSelectorResult selectTracks(
      RendererCapabilities[] rendererCapabilities,
      TrackGroupArray trackGroups,
      MediaPeriodId periodId,
      Timeline timeline); abstract void onSelectionActivated(Object info);  }
@Test public void getBandwidthMeter_beforeInitialization_throwsException() { try { trackSelector.getBandwidthMeter(); fail(); } catch (Exception e) { } }