public function vfsStreamWrapperQuotaTestCase::writeUpToQotaWritesEverything in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperQuotaTestCase.php \org\bovigo\vfs\vfsStreamWrapperQuotaTestCase::writeUpToQotaWritesEverything()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperQuotaTestCase.php, line 46
Class
- vfsStreamWrapperQuotaTestCase
- Test for quota related functionality of org\bovigo\vfs\vfsStreamWrapper.
Namespace
org\bovigo\vfsCode
public function writeUpToQotaWritesEverything() {
$this
->assertEquals(10, file_put_contents(vfsStream::url('root/file.txt'), '1234567890'));
$this
->assertEquals('1234567890', $this->root
->getChild('file.txt')
->getContent());
}