function testIsFormDataViaContentType() { $req = new Request(); $req->mock(array("HTTP_CONTENT_TYPE" => "application/x-www-form-urlencoded")); $this->assertTrue($req->isFormData()); }