You are here

public function StringBasedFileContentTestCase::readMovesOffset in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/content/StringBasedFileContentTestCase.php \org\bovigo\vfs\content\StringBasedFileContentTestCase::readMovesOffset()

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/content/StringBasedFileContentTestCase.php, line 69

Class

StringBasedFileContentTestCase
Test for org\bovigo\vfs\content\StringBasedFileContent.

Namespace

org\bovigo\vfs\content

Code

public function readMovesOffset() {
  $this
    ->assertEquals('foo', $this->stringBasedFileContent
    ->read(3));
  $this
    ->assertEquals('bar', $this->stringBasedFileContent
    ->read(3));
  $this
    ->assertEquals('baz', $this->stringBasedFileContent
    ->read(3));
}