public function test_private() { $this->assertEquals(true, $this->torrent->isPrivate()); $this->assertEquals("618b40bddf786d3af341f2bb00e441b355ecc953", $this->torrent->getInfoHash(false)); $this->torrent->setPrivate(false); $this->assertEquals("d25e9ed17d4481488aac880bf5349413f76dbb67", $this->torrent->getInfoHash(false)); }