function StreamWrapperManagerTest::testUriScheme
Tests uri scheme.
@legacy-covers ::getScheme
Attributes
#[DataProvider('providerTestUriScheme')]
File
-
core/
tests/ Drupal/ KernelTests/ Core/ StreamWrapper/ StreamWrapperManagerTest.php, line 40
Class
Namespace
Drupal\KernelTests\Core\StreamWrapperCode
public function testUriScheme($uri, $expected) : void {
$this->assertSame($expected, StreamWrapperManager::getScheme($uri));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.