public function testHttpRequestContentType()
{
$request = $this->getRequestObject();
$this->setServerVar('CONTENT_TYPE', 'application/xhtml+xml');
$contentType = $request->getContentType();
$this->assertEquals($contentType, 'application/xhtml+xml');
$this->unsetServerVar('CONTENT_TYPE');
$this->setServerVar('HTTP_CONTENT_TYPE', 'application/xhtml+xml');
$contentType = $request->getContentType();
$this->assertEquals($contentType, 'application/xhtml+xml');
$this->unsetServerVar('HTTP_CONTENT_TYPE');
}