cloudmersive-virus-api-client
Version:
The_Cloudmersive_Virus_Scan_API_lets_you_scan_files_and_content_for_viruses_and_identify_security_issues_with_content_
74 lines (63 loc) • 2.5 kB
JavaScript
/**
* virusapi
* The Cloudmersive Virus Scan API lets you scan files and content for viruses and identify security issues with content.
*
* OpenAPI spec version: v1
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.1
*
* Do not edit the class manually.
*
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD.
define(['expect.js', '../../src/index'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
factory(require('expect.js'), require('../../src/index'));
} else {
// Browser globals (root is window)
factory(root.expect, root.CloudmersiveVirusApiClient);
}
}(this, function(expect, CloudmersiveVirusApiClient) {
'use strict';
var instance;
beforeEach(function() {
instance = new CloudmersiveVirusApiClient.CloudStorageVirusFound();
});
var getProperty = function(object, getter, property) {
// Use getter method if present; otherwise, get the property directly.
if (typeof object[getter] === 'function')
return object[getter]();
else
return object[property];
}
var setProperty = function(object, setter, property, value) {
// Use setter method if present; otherwise, set the property directly.
if (typeof object[setter] === 'function')
object[setter](value);
else
object[property] = value;
}
describe('CloudStorageVirusFound', function() {
it('should create an instance of CloudStorageVirusFound', function() {
// uncomment below and update the code to test CloudStorageVirusFound
//var instane = new CloudmersiveVirusApiClient.CloudStorageVirusFound();
//expect(instance).to.be.a(CloudmersiveVirusApiClient.CloudStorageVirusFound);
});
it('should have the property fileName (base name: "FileName")', function() {
// uncomment below and update the code to test the property fileName
//var instane = new CloudmersiveVirusApiClient.CloudStorageVirusFound();
//expect(instance).to.be();
});
it('should have the property virusName (base name: "VirusName")', function() {
// uncomment below and update the code to test the property virusName
//var instane = new CloudmersiveVirusApiClient.CloudStorageVirusFound();
//expect(instance).to.be();
});
});
}));