function FileUrlGeneratorTest::testGenerateStringMissingStreamWrapper
Same name and namespace in other branches
- 11.x core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php \Drupal\KernelTests\Core\File\FileUrlGeneratorTest::testGenerateStringMissingStreamWrapper()
- 10 core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php \Drupal\KernelTests\Core\File\FileUrlGeneratorTest::testGenerateStringMissingStreamWrapper()
- 9 core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php \Drupal\KernelTests\Core\File\FileUrlGeneratorTest::testGenerateStringMissingStreamWrapper()
Tests missing stream handler.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php, line 57
Class
Namespace
Drupal\KernelTests\Core\FileCode
public function testGenerateStringMissingStreamWrapper() : void {
$this->expectException(InvalidStreamWrapperException::class);
$this->fileUrlGenerator
->generateString("foo://bar");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.