protected function KernelTest::getKernelMockForIsClassInActiveBundleTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/KernelTest.php \Symfony\Component\HttpKernel\Tests\KernelTest::getKernelMockForIsClassInActiveBundleTest()
3 calls to KernelTest::getKernelMockForIsClassInActiveBundleTest()
- KernelTest::testLegacyIsClassInActiveBundleFalse in vendor/
symfony/ http-kernel/ Tests/ KernelTest.php - @group legacy
- KernelTest::testLegacyIsClassInActiveBundleFalseNoNamespace in vendor/
symfony/ http-kernel/ Tests/ KernelTest.php - @group legacy
- KernelTest::testLegacyIsClassInActiveBundleTrue in vendor/
symfony/ http-kernel/ Tests/ KernelTest.php - @group legacy
File
- vendor/
symfony/ http-kernel/ Tests/ KernelTest.php, line 346
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
protected function getKernelMockForIsClassInActiveBundleTest() {
$bundle = new FooBarBundle();
$kernel = $this
->getKernel(array(
'getBundles',
));
$kernel
->expects($this
->once())
->method('getBundles')
->will($this
->returnValue(array(
$bundle,
)));
return $kernel;
}