@expectedException \LogicException
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/BinaryFileResponseTest.php, line 38
Class
- BinaryFileResponseTest
Namespace
Symfony\Component\HttpFoundation\Tests
Code
public function testSetContent() {
$response = new BinaryFileResponse('README.md');
$response
->setContent('foo');
}