protected $contentNegotiation;
/**
* {@inheritdoc}
*/
protected function setUp(): void
{ parent::
setUp();
$this->app =
$this->
prophesize(HttpKernelInterface::
class);
$this->contentNegotiation =
new StubNegotiationMiddleware($this->app->
reveal());
} /**
* Tests the getContentType() method with AJAX iframe upload.
*
* @covers ::getContentType
*/
public function testAjaxIframeUpload() { $request =
new Request();
$request->request->
set('ajax_iframe_upload', '1'
);