public function ChainResponsePolicyTest::providerChainExceptionOnInvalidReturnValue in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php \Drupal\Tests\Core\PageCache\ChainResponsePolicyTest::providerChainExceptionOnInvalidReturnValue()
Provides test data for testChainExceptionOnInvalidReturnValue.
Return value
array Test input and expected result.
File
- core/
tests/ Drupal/ Tests/ Core/ PageCache/ ChainResponsePolicyTest.php, line 97
Class
- ChainResponsePolicyTest
- @coversDefaultClass \Drupal\Core\PageCache\ChainResponsePolicy @group PageCache
Namespace
Drupal\Tests\Core\PageCacheCode
public function providerChainExceptionOnInvalidReturnValue() {
return [
[
FALSE,
],
[
0,
],
[
1,
],
[
TRUE,
],
[
[
1,
2,
3,
],
],
[
new \stdClass(),
],
];
}