protected function setUp() { $this->bootKernel(); $this->application = new Application(self::$kernel); $this->application->setAutoExit(false); $this->runCommand('doctrine:schema:drop --force'); $this->runCommand('doctrine:schema:create'); }