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