DownloadProgressBroadcast { public DownloadProgressBroadcast setTorrentFile(String torrentFile) { this.torrentFile = torrentFile; return this; } DownloadProgressBroadcast(); static Intent createProgressIntent(String torrentFile, int progress); DownloadProgressBroadcast setTorrentFile(String torrentFile); DownloadProgressBroadcast setProgress(int progress); Intent createIntent();  }
@Test public void testSetTorrentFile() { DownloadProgressBroadcast broadcast = new DownloadProgressBroadcast(); assertThat(broadcast.setTorrentFile("file")).isSameAs(broadcast); }