@Test
public void mergeRequest_removing_becomesRestarting() {

  DownloadRequest downloadRequest = createDownloadRequest();
  DownloadBuilder downloadBuilder =
      new DownloadBuilder(downloadRequest).setState(Download.STATE_REMOVING);
  Download download = downloadBuilder.build();
  Download mergedDownload =
      DownloadManager.mergeRequest(download, downloadRequest, download.stopReason, NOW_MS);
  Download expectedDownload =
      downloadBuilder.setStartTimeMs(NOW_MS).setState(Download.STATE_RESTARTING).build();
  assertEqualIgnoringUpdateTime(mergedDownload, expectedDownload);
}