You are here

public function vfsStreamFileTestCase::withContentThrowsInvalidArgumentExceptionWhenContentIsNoStringAndNoFileContent in Zircon Profile 8.0

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

@test @group issue_79 @expectedException \InvalidArgumentException @since 1.3.0

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamFileTestCase.php, line 302

Class

vfsStreamFileTestCase
Test for org\bovigo\vfs\vfsStreamFile.

Namespace

org\bovigo\vfs

Code

public function withContentThrowsInvalidArgumentExceptionWhenContentIsNoStringAndNoFileContent() {
  $this->file
    ->withContent(313);
}