public function LargeFileContentTestCase::writeDataAfterLastOffsetIncreasesSize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/content/LargeFileContentTestCase.php \org\bovigo\vfs\content\LargeFileContentTestCase::writeDataAfterLastOffsetIncreasesSize()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ content/ LargeFileContentTestCase.php, line 160
Class
Namespace
org\bovigo\vfs\contentCode
public function writeDataAfterLastOffsetIncreasesSize() {
$this->largeFileContent
->seek(0, SEEK_END);
$this
->assertEquals(9, $this->largeFileContent
->write('foobarbaz'));
$this
->assertEquals(109, $this->largeFileContent
->size());
}