public function RequestTest::testCanConstructWithBody in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/tests/RequestTest.php \GuzzleHttp\Tests\Psr7\RequestTest::testCanConstructWithBody()
File
- vendor/
guzzlehttp/ psr7/ tests/ RequestTest.php, line 33
Class
- RequestTest
- @covers GuzzleHttp\Psr7\Request
Namespace
GuzzleHttp\Tests\Psr7Code
public function testCanConstructWithBody() {
$r = new Request('GET', '/', [], 'baz');
$this
->assertEquals('baz', (string) $r
->getBody());
}