public function testGetURL() { $article = new \FelixOnline\Core\Article(1); $this->assertEquals($article->getURL(), 'http://localhost/news/1/fighting-for-libel-reform/'); }