You are here

public function FileSystemTest::testUriScheme in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/File/FileSystemTest.php \Drupal\Tests\Core\File\FileSystemTest::testUriScheme()

@covers ::uriScheme

@dataProvider providerTestUriScheme

File

core/tests/Drupal/Tests/Core/File/FileSystemTest.php, line 137
Contains \Drupal\Tests\Core\File\FileSystemTest.

Class

FileSystemTest
@coversDefaultClass \Drupal\Core\File\FileSystem

Namespace

Drupal\Tests\Core\File

Code

public function testUriScheme($uri, $expected) {
  $this
    ->assertSame($expected, $this->fileSystem
    ->uriScheme($uri));
}