public function ResponseTest::testSetContent in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/ResponseTest.php \Symfony\Component\HttpFoundation\Tests\ResponseTest::testSetContent()
@dataProvider validContentProvider
File
- vendor/
symfony/ http-foundation/ Tests/ ResponseTest.php, line 802
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testSetContent($content) {
$response = new Response();
$response
->setContent($content);
$this
->assertEquals((string) $content, $response
->getContent());
}