@Test
public void testSetParameterWithSameParametersDoesNotNotifyInvalidationListenerAgain() {

  ParametersBuilder builder = defaultParameters.buildUpon().setPreferredAudioLanguage("eng");
  trackSelector.setParameters(builder);
  trackSelector.setParameters(builder);
  verify(invalidationListener, times(1)).onTrackSelectionsInvalidated();
}