protected function KernelTest::getKernel

17 calls to KernelTest::getKernel()
KernelTest::testInitializeBundles in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/KernelTest.php
KernelTest::testInitializeBundlesSupportInheritanceCascade in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/KernelTest.php
KernelTest::testInitializeBundlesSupportsArbitraryBundleRegistrationOrder in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/KernelTest.php
KernelTest::testInitializeBundlesThrowsExceptionWhenABundleIsDirectlyExtendedByTwoBundles in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/KernelTest.php
@expectedException \LogicException
KernelTest::testInitializeBundlesThrowsExceptionWhenAParentDoesNotExists in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/KernelTest.php
@expectedException \LogicException

... See full list

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/KernelTest.php, line 857

Class

KernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

protected function getKernel() {
  return $this
    ->getMockBuilder('Symfony\\Component\\HttpKernel\\Tests\\Fixtures\\KernelForTest')
    ->setMethods(array(
    'getBundle',
    'registerBundles',
  ))
    ->disableOriginalConstructor()
    ->getMock();
}