public function LargeFileContentTestCase::writeDataOverLastOffsetIncreasesSize 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::writeDataOverLastOffsetIncreasesSize()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ content/ LargeFileContentTestCase.php, line 137
Class
Namespace
org\bovigo\vfs\contentCode
public function writeDataOverLastOffsetIncreasesSize() {
$this->largeFileContent
->seek(95, SEEK_SET);
$this
->assertEquals(9, $this->largeFileContent
->write('foobarbaz'));
$this
->assertEquals(104, $this->largeFileContent
->size());
}