/** * @covers PHP\BitTorrent\Torrent::setCreatedAt * @covers PHP\BitTorrent\Torrent::getCreatedAt */ public function testSetGetCreationDate() { $timestamp = time(); $this->assertSame($this->torrent, $this->torrent->setCreatedAt($timestamp)); $this->assertSame($timestamp, $this->torrent->getCreatedAt()); }