You are here

public function BinaryFileResponseTest::testGetContent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/BinaryFileResponseTest.php \Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testGetContent()

File

vendor/symfony/http-foundation/Tests/BinaryFileResponseTest.php, line 46

Class

BinaryFileResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetContent() {
  $response = new BinaryFileResponse(__FILE__);
  $this
    ->assertFalse($response
    ->getContent());
}