<?php require '../vendor/autoload.php'; use NoughtsAndCrosses\Application; /* Create and run NoughtsAndCrosses application. */ $app = new Application(); $app->run(); echo "Welcome to the NoughtsAndCrosses application!";
/** * Test getGame returns the game. * * @dataProvider gameProvider */ public function testGetGame(GameInterface $game) { $app = new Application(); $app->setGame($game); $this->assertSame($game, $app->getGame()); }