Ejemplo n.º 1
0
 /**
  * @covers PHP\BitTorrent\Torrent::setAnnounce
  * @covers PHP\BitTorrent\Torrent::getAnnounce
  */
 public function testSetGetAnnounce()
 {
     $announce = 'http://tracker/';
     $this->assertSame($this->torrent, $this->torrent->setAnnounce($announce));
     $this->assertSame($announce, $this->torrent->getAnnounce());
 }