/** * @covers PHP\BitTorrent\Torrent::setPieceLengthExp * @covers PHP\BitTorrent\Torrent::getPieceLengthExp */ public function testSetGetPieceLengthExp() { $exp = 6; $this->assertSame($this->torrent, $this->torrent->setPieceLengthExp($exp)); $this->assertSame($exp, $this->torrent->getPieceLengthExp()); }