You are here

protected function CacheWarmerAggregateTest::getCacheWarmerMock in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php \Symfony\Component\HttpKernel\Tests\CacheWarmer\CacheWarmerAggregateTest::getCacheWarmerMock()
5 calls to CacheWarmerAggregateTest::getCacheWarmerMock()
CacheWarmerAggregateTest::testInjectWarmersUsingAdd in vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php
CacheWarmerAggregateTest::testInjectWarmersUsingConstructor in vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php
CacheWarmerAggregateTest::testInjectWarmersUsingSetWarmers in vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php
CacheWarmerAggregateTest::testWarmupDoesCallWarmupOnOptionalWarmersWhenEnableOptionalWarmersIsEnabled in vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php
CacheWarmerAggregateTest::testWarmupDoesNotCallWarmupOnOptionalWarmersWhenEnableOptionalWarmersIsNotEnabled in vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php

File

vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php, line 92

Class

CacheWarmerAggregateTest

Namespace

Symfony\Component\HttpKernel\Tests\CacheWarmer

Code

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