You are here

public function StringBasedFileContentTestCase::readMoreThanSizeReachesEof in Zircon Profile 8.0

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

@test

File

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

Class

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

Namespace

org\bovigo\vfs\content

Code

public function readMoreThanSizeReachesEof() {
  $this->stringBasedFileContent
    ->read(10);
  $this
    ->assertTrue($this->stringBasedFileContent
    ->eof());
}