@Test
public void testDownloadLicenseFailsIfNoKeySetIdIsReturned() throws Exception {

  setStubLicenseAndPlaybackDurationValues(1000, 200);
  try {
    offlineLicenseHelper.downloadLicense(newDrmInitData());
    fail();
  } catch (Exception e) {
    // Expected.
  }
}