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