/** * @covers PHP\BitTorrent\Torrent::setCreatedBy * @covers PHP\BitTorrent\Torrent::getCreatedBy */ public function testSetGetCreatedBy() { $createdBy = 'Some client name'; $this->assertSame($this->torrent, $this->torrent->setCreatedBy($createdBy)); $this->assertSame($createdBy, $this->torrent->getCreatedBy()); }