public function ResponseTest::testIsNotFound 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::testIsNotFound()
File
- vendor/
symfony/ http-foundation/ Tests/ ResponseTest.php, line 733
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testIsNotFound() {
$response = new Response('', 404);
$this
->assertTrue($response
->isNotFound());
$response = new Response('', 200);
$this
->assertFalse($response
->isNotFound());
}