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