@Test
public void testMergeRequests_withEmptyStreamKeys() {

  DownloadRequest request1 = createRequest(uri1, new StreamKey(0, 0, 0));
  DownloadRequest request2 = createRequest(uri1);
  // If either of the requests have empty streamKeys, the merge should have empty streamKeys.
  DownloadRequest mergedRequest = request1.copyWithMergedRequest(request2);
  assertThat(mergedRequest.streamKeys).isEmpty();
  mergedRequest = request2.copyWithMergedRequest(request1);
  assertThat(mergedRequest.streamKeys).isEmpty();
}