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