You are here

public function FunctionsTest::testThrowsExceptionNotWarning in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/tests/FunctionsTest.php \GuzzleHttp\Tests\Psr7\FunctionsTest::testThrowsExceptionNotWarning()

@expectedException \RuntimeException @expectedExceptionMessage Unable to open /path/to/does/not/exist using mode r

File

vendor/guzzlehttp/psr7/tests/FunctionsTest.php, line 143

Class

FunctionsTest

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testThrowsExceptionNotWarning() {
  Psr7\try_fopen('/path/to/does/not/exist', 'r');
}