You are here

public function ResponseTest::testAlwaysReturnsBody in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/psr7/tests/ResponseTest.php \GuzzleHttp\Tests\Psr7\ResponseTest::testAlwaysReturnsBody()

File

vendor/guzzlehttp/psr7/tests/ResponseTest.php, line 66

Class

ResponseTest
@covers GuzzleHttp\Psr7\MessageTrait @covers GuzzleHttp\Psr7\Response

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testAlwaysReturnsBody() {
  $r = new Response();
  $this
    ->assertInstanceOf('Psr\\Http\\Message\\StreamInterface', $r
    ->getBody());
}