public function StringBasedFileContentTestCase::canSeekToGivenOffset in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/content/StringBasedFileContentTestCase.php \org\bovigo\vfs\content\StringBasedFileContentTestCase::canSeekToGivenOffset()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ content/ StringBasedFileContentTestCase.php, line 140
Class
Namespace
org\bovigo\vfs\contentCode
public function canSeekToGivenOffset() {
$this
->assertTrue($this->stringBasedFileContent
->seek(5, SEEK_SET));
$this
->assertEquals('rbaz', $this->stringBasedFileContent
->read(10));
}