public function testSetVoteDescriptionAndGetVoteDescription() { $this->assertSame('', $this->rfc->getVoteDescription()); $this->rfc->setVoteDescription('Vote description'); $this->assertSame('Vote description', $this->rfc->getVoteDescription()); }
/** * Add votes and vote description to RFC * * @return self */ public function loadVotes() { $this->rfc->setVoteDescription($this->parseVoteDescription()); $this->rfc->setVotes($this->parseVotes()); return $this; }