public function testLinkCanonical() { $page = new SeoPage(); $page->setLinkCanonical('http://example.com'); $this->assertEquals('http://example.com', $page->getLinkCanonical()); $page->removeLinkCanonical(); $this->assertEquals('', $page->getLinkCanonical()); }