public function CacheWarmerAggregateTest::testInjectWarmersUsingSetWarmers in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerAggregateTest.php \Symfony\Component\HttpKernel\Tests\CacheWarmer\CacheWarmerAggregateTest::testInjectWarmersUsingSetWarmers()
File
- vendor/
symfony/ http-kernel/ Tests/ CacheWarmer/ CacheWarmerAggregateTest.php, line 51
Class
Namespace
Symfony\Component\HttpKernel\Tests\CacheWarmerCode
public function testInjectWarmersUsingSetWarmers() {
$warmer = $this
->getCacheWarmerMock();
$warmer
->expects($this
->once())
->method('warmUp');
$aggregate = new CacheWarmerAggregate();
$aggregate
->setWarmers(array(
$warmer,
));
$aggregate
->warmUp(self::$cacheDir);
}