function FileUrlGeneratorTest::testGenerateAbsoluteStringMissingStreamWrapper
Tests missing stream handler.
@legacy-covers ::generateAbsoluteString
File
-
core/
tests/ Drupal/ KernelTests/ Core/ File/ FileUrlGeneratorTest.php, line 71
Class
Namespace
Drupal\KernelTests\Core\FileCode
public function testGenerateAbsoluteStringMissingStreamWrapper() : void {
$this->expectException(InvalidStreamWrapperException::class);
$this->fileUrlGenerator
->generateAbsoluteString("foo://bar");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.