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