public function test_previous() { $this->assertEquals($this->seo->getPrev(), ""); $this->seo->setPrev('http://somelistofarticals.com/article/1'); $this->assertEquals($this->seo->getPrev(), "<link rel=\"prev\" href=\"http://somelistofarticals.com/article/1\"/>"); }