Example #1
0
 function testGetContentMimeTypeWhenNoParamsExist()
 {
     $req = new Request();
     $req->mock(array("HTTP_CONTENT_TYPE" => "application/json"));
     $this->assertEquals("application/json", $req->getContentMimeType());
 }