public function testSetGetAuthorId() { $authorId = 10; $this->article->setAuthorId($authorId); $result = $this->article->getAuthorId(); $this->assertEquals($authorId, $result); }