protected function _before()
{
$this->compiler = new \Nette\DI\Compiler();
$this->compiler->addConfig(['parameters' => ['debugMode' => TRUE]]);
$this->compiler->addExtension('params', new \WebChemistry\Parameters\DI\ParametersExtension());
$this->compiler->addExtension('http', new \Nette\Bridges\HttpDI\HttpExtension());
$this->compiler->addExtension('mock', new MockExtension());
}