protected function vfsStreamTestCase::assertVfsFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php \org\bovigo\vfs\vfsStreamTestCase::assertVfsFile()
helper function for assertions on vfsStreamFile
Parameters
vfsStreamFile $file:
string $content:
11 calls to vfsStreamTestCase::assertVfsFile()
- vfsStreamTestCase::copyFromWithSubFolders in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php 
- @test @group issue_4 @since 0.11.0
- vfsStreamTestCase::copyFromWithSubFoldersWithRoot in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php 
- @test @group issue_4 @since 0.11.0
- vfsStreamTestCase::createCastsNumericDirectoriesToStrings in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php 
- @test @group issue_20 @since 0.11.0
- vfsStreamTestCase::createCastsNumericDirectoriesToStringsWithRoot in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php 
- @test @group issue_20 @since 0.11.0
- vfsStreamTestCase::createStringsAreTurnedIntoFilesWithContent in vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php 
- @test @group issue_20 @since 0.10.0
File
- vendor/mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php, line 521 
Class
- vfsStreamTestCase
- Test for org\bovigo\vfs\vfsStream.
Namespace
org\bovigo\vfsCode
protected function assertVfsFile(vfsStreamFile $file, $content) {
  $this
    ->assertInstanceOf('org\\bovigo\\vfs\\vfsStreamFile', $file);
  $this
    ->assertEquals($content, $file
    ->getContent());
}