public function testDefaultConfig($debug) { $this->container->
setParameter('kernel.debug',
$debug);
$extension =
new WebProfilerExtension();
$extension->
load([[]],
$this->container
);
$this->container->
removeDefinition('web_profiler.controller.exception'
);
$this->
assertFalse($this->container->
has('web_profiler.debug_toolbar'
));
self::
assertSaneContainer($this->
getCompiledContainer());
} public static function getDebugModes() { return [ ['debug' => false
],
['debug' => true
],
];
} /**
* @dataProvider getToolbarConfig
*/