public function BinaryFileResponseTest::testSetContent in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/BinaryFileResponseTest.php \Symfony\Component\HttpFoundation\Tests\BinaryFileResponseTest::testSetContent()
@expectedException \LogicException
File
- vendor/
symfony/ http-foundation/ Tests/ BinaryFileResponseTest.php, line 40
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testSetContent() {
$response = new BinaryFileResponse(__FILE__);
$response
->setContent('foo');
}