@Test
public void postDownloadRequest_downloads() throws Throwable {

  DownloadRunner runner = new DownloadRunner(uri1);
  TaskWrapper task = runner.postDownloadRequest().getTask();
  task.assertDownloading();
  runner.getDownloader(0).unblock().assertReleased().assertStartCount(1);
  task.assertCompleted();
  runner.assertCreatedDownloaderCount(1);
  downloadManagerListener.blockUntilTasksCompleteAndThrowAnyDownloadError();
  assertThat(downloadManager.getCurrentDownloads()).isEmpty();
}