protected function createGame() { $game = new Game(); $game->addPlayer(new Player('white')); $game->addPlayer(new Player('black')); $game->setCreatorColor('white'); $positionGenerator = new StandardPositionGenerator(); $positionGenerator->createPiecesMinimal($game); return $game; }