public function ResponseTest::testCanGiveCustomReason in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/tests/ResponseTest.php \GuzzleHttp\Tests\Psr7\ResponseTest::testCanGiveCustomReason()
File
- vendor/
guzzlehttp/ psr7/ tests/ ResponseTest.php, line 20
Class
- ResponseTest
- @covers GuzzleHttp\Psr7\MessageTrait @covers GuzzleHttp\Psr7\Response
Namespace
GuzzleHttp\Tests\Psr7Code
public function testCanGiveCustomReason() {
$r = new Response(200, [], null, '1.1', 'bar');
$this
->assertEquals('bar', $r
->getReasonPhrase());
}