public function RejectionExceptionTest::testCanGetReasonMessageFromJson in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/promises/tests/RejectionExceptionTest.php \GuzzleHttp\Promise\Tests\RejectionExceptionTest::testCanGetReasonMessageFromJson()
File
- vendor/
guzzlehttp/ promises/ tests/ RejectionExceptionTest.php, line 41
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function testCanGetReasonMessageFromJson() {
$reason = new Thing2();
$e = new RejectionException($reason);
$this
->assertContains("{}", $e
->getMessage());
}