public function testClassCacheIsNotLoadedByDefault() {
$kernel = $this
->getMockBuilder('Symfony\\Component\\HttpKernel\\Tests\\Fixtures\\KernelForTest')
->disableOriginalConstructor()
->setMethods(array(
'initializeBundles',
'initializeContainer',
'getBundles',
'doLoadClassCache',
))
->getMock();
$kernel
->expects($this
->any())
->method('getBundles')
->will($this
->returnValue(array()));
$kernel
->expects($this
->never())
->method('doLoadClassCache');
$kernel
->boot();
}