/** * */ public function testCustomRevLink() { Chrome::clearLinks(); $this->assertEquals(0, count(Chrome::getLinks())); Chrome::addLink('author', 'mailto:info@jerity.com', true); $l = Chrome::getLinks(); $this->assertTrue(is_array($l)); $this->assertEquals(1, count($l)); $this->assertEquals(2, count($l[0])); $this->assertEquals('author', $l[0]['rev']); $this->assertEquals('mailto:info@jerity.com', $l[0]['href']); }