public function testDownloadUrlToFile() { $relFilePath = '/upload/obx.core/test/Request/testDownloadUrlToFile.json'; Request::downloadUrlToFile(self::$_urlJSON . '&test=testDownloadUrlToFile&download=Y', $relFilePath); $this->assertFileExists(self::$_docRoot . $relFilePath); }