DownloadRequest { public DownloadRequest setTorrentFile(Uri torrentFile) { this.torrentFile = torrentFile; return this; } DownloadRequest(); DownloadRequest setTorrentFile(Uri torrentFile); DownloadRequest setDestinationDirectory(Uri destinationDirectory); Intent createIntent(Context context);  }
@Test public void testSetTorrentFile() { DownloadRequest downloadRequest = new DownloadRequest(); assertThat(downloadRequest.setTorrentFile(Uri.parse("file"))).isSameAs(downloadRequest); }