Esempio n. 1
0
 /**
  * Test getWinner returns winner
  */
 public function testGetWinner()
 {
     $decision = new Decision($this->getScores());
     $scores = array_flip($this->getScoresTotalled());
     $this->assertEquals(array_shift($scores), $decision->getWinner());
 }