public function FileSystemTest::testBasename in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/File/FileSystemTest.php \Drupal\Tests\Core\File\FileSystemTest::testBasename()
@covers ::basename
@dataProvider providerTestBasename
File
- core/
tests/ Drupal/ Tests/ Core/ File/ FileSystemTest.php, line 110 - Contains \Drupal\Tests\Core\File\FileSystemTest.
Class
- FileSystemTest
- @coversDefaultClass \Drupal\Core\File\FileSystem
Namespace
Drupal\Tests\Core\FileCode
public function testBasename($uri, $expected, $suffix = NULL) {
$this
->assertSame($expected, $this->fileSystem
->basename($uri, $suffix));
}