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