public function setUp() { $kernel = new AppKernel('test', true); $kernel->boot(); $this->container = $kernel->getContainer(); }