You are here

protected function vfsStreamTestCase::assertVfsFile in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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

... See full list

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\vfs

Code

protected function assertVfsFile(vfsStreamFile $file, $content) {
  $this
    ->assertInstanceOf('org\\bovigo\\vfs\\vfsStreamFile', $file);
  $this
    ->assertEquals($content, $file
    ->getContent());
}