public function vfsStreamWrapperTestCase::filesize in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::filesize()
assure that filesize is returned correct
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperTestCase.php, line 47
Class
Namespace
org\bovigo\vfsCode
public function filesize() {
$this
->assertEquals(0, filesize($this->fooURL));
$this
->assertEquals(0, filesize($this->fooURL . '/.'));
$this
->assertEquals(0, filesize($this->barURL));
$this
->assertEquals(0, filesize($this->barURL . '/.'));
$this
->assertEquals(4, filesize($this->baz2URL));
$this
->assertEquals(5, filesize($this->baz1URL));
}