Example #1
0
 /**
  *
  */
 public function testDownloadJSONToFile()
 {
     $Request = new Request(self::$_urlJSON . '&test=testDownloadToFile&download=Y');
     $Request->downloadToFile('/upload/obx.core/test/Request/toFile/testDownloadToFile.json');
     $this->assertEquals('application/json', $Request->getContentType());
     $this->assertEquals('UTF-8', $Request->getCharset());
 }