public function vfsStreamWrapperTestCase::basename in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::basename()
assert basename() returns correct file name
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperTestCase.php, line 143
Class
Namespace
org\bovigo\vfsCode
public function basename() {
$this
->assertEquals('bar', basename($this->barURL));
$this
->assertEquals('baz1', basename($this->baz1URL));
$this
->assertEquals('doesNotExist', basename(vfsStream::url('doesNotExist')));
}