public function testGetTotalScoreReturnNegativeScore() { $comment = new Comment(); $comment->addRating($this->badRating); $actual = $comment->getTotalScore(); $this->assertEquals(-1, $actual); }
public function testGetTotalScoreReturnNegativeScore() { $comment = new Comment(); $comment->addRating($this->badRating); $actual = $comment->getTotalScore(); $this->assertEquals(-1, $actual); }