function ChainRequestPolicyTest::testEmptyChain
Asserts that check() returns NULL if the chain is empty.
@covers ::check
File
-
core/
tests/ Drupal/ Tests/ Core/ PageCache/ ChainRequestPolicyTest.php, line 43
Class
- ChainRequestPolicyTest
- @coversDefaultClass \Drupal\Core\PageCache\ChainRequestPolicy[[api-linebreak]] @group PageCache
Namespace
Drupal\Tests\Core\PageCacheCode
public function testEmptyChain() {
$result = $this->policy
->check($this->request);
$this->assertSame(NULL, $result);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.