/** * creates a new turn and assigns it to the next player. */ private function nextTurn() { $this->currentTurn = $this->currentTurn->next(); }
private function assertSameTurn(Turn $expected, Turn $turn) { $this->assertTrue($expected->isEqual($turn)); }