protected function getCacheWarmerMock() { $warmer = $this ->getMockBuilder('Symfony\\Component\\HttpKernel\\CacheWarmer\\CacheWarmerInterface') ->disableOriginalConstructor() ->getMock(); return $warmer; }