public function getTitle() { $this->__load(); return parent::getTitle(); }
/** * Test article authors */ private function checkAuthors($count, \Article $article, Feed $feed) { $authors = \ArticleAuthor::GetAuthorsByArticle($article->getArticleNumber(), $article->getLanguageId()); $this->assertEquals(1, count($authors), 'Authors count fails.'); $this->assertEquals($feed->getTitle(), $authors[0]->getName()); }