protected function CacheWarmerAggregateTest::getCacheWarmerMock

5 calls to CacheWarmerAggregateTest::getCacheWarmerMock()
CacheWarmerAggregateTest::testInjectWarmersUsingAdd in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php
CacheWarmerAggregateTest::testInjectWarmersUsingConstructor in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php
CacheWarmerAggregateTest::testInjectWarmersUsingSetWarmers in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php
CacheWarmerAggregateTest::testWarmupDoesCallWarmupOnOptionalWarmersWhenEnableOptionalWarmersIsEnabled in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php
CacheWarmerAggregateTest::testWarmupDoesNotCallWarmupOnOptionalWarmersWhenEnableOptionalWarmersIsNotEnabled in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php, line 94

Class

CacheWarmerAggregateTest

Namespace

Symfony\Component\HttpKernel\Tests\CacheWarmer

Code

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