/**
  * Test create torrent
  *
  * @return Torrent
  */
 protected function getTorrent()
 {
     $file = new File\File(dirname(__FILE__) . '/../Fixtures/' . self::FILE_TO_DOWNLOAD);
     $torrent = new Torrent($file, self::PIECE_LENGTH);
     $torrent->setAnnounceList(array(self::ANNOUNCE_URL));
     $torrent->setInfoHash(self::INFO_HASH);
     return $torrent;
 }