@Test
@SuppressWarnings("deprecation")
public void testSchemeDatasWithSameUuid() {

  DrmInitData testInitData = new DrmInitData(DATA_1, DATA_1B);
  assertThat(testInitData.schemeDataCount).isEqualTo(2);
  // Deprecated get method should return first entry.
  assertThat(testInitData.get(WIDEVINE_UUID)).isEqualTo(DATA_1);
  // Test retrieval of first and second entry.
  assertThat(testInitData.get(0)).isEqualTo(DATA_1);
  assertThat(testInitData.get(1)).isEqualTo(DATA_1B);
}