function testSortDraw() { $player1 = new FoosPlayer('player1', 1000); $player2 = new FoosPlayer('player2', 1000); $match = new FoosMatch($player1, 2, $player2, 2); $this->assertEqual($match->getPlayer1(), $player1); $this->assertEqual($match->getPlayer2(), $player2); $this->assertEqual($match->getScore1(), 2); $this->assertEqual($match->getScore2(), 2); }