/** * @test * @covers ::boot * @covers ::setContainer * @covers ::getContainer * @covers ::getDefaultContainer */ public function canBoot() { try { Bootstrap::boot(); $this->assertInstanceOf(Container::class, Bootstrap::getContainer()); } catch (Exception $e) { $this->fail('Could not boot; ' . PHP_EOL . $e); } }
protected function _before() { parent::_before(); Bootstrap::boot(); }