public function testGetHash() { $link = new Link('yolo'); $this->assertEquals(sha1('yolo'), $link->getHash()); }