/**
  * @depends testUpload
  * @depends testGetFile
  * @depends testFilePatch
  * @param ProtocolFile $file
  */
 public function testDeleteUpload(ProtocolFile $file)
 {
     $client = static::createClient();
     $uri = static::$kernel->getContainer()->get('router')->generate('renatomefi_form_protocolfiles_deleteupload', ['protocolId' => $file->getProtocol()->getId(), 'fileId' => $file->getId()]);
     $client->request(Request::METHOD_DELETE, $uri, [], [], ['HTTP_ACCEPT' => 'application/json']);
     $result = $this->assertJsonResponse($client->getResponse(), Response::HTTP_OK, true, true);
     $this->assertEmpty($result);
 }