예제 #1
0
 /**
  * @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());
 }