File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/RequestTest.php, line 80
Class
- RequestTest
Namespace
Symfony\Component\HttpFoundation\Tests
Code
public function testGetContentType() {
$request = new Request();
$contentType = $request
->getContentType();
$this
->assertNull($contentType);
}