mirror of https://github.com/vernonkeenan/lib
132 lines
4.7 KiB
JavaScript
132 lines
4.7 KiB
JavaScript
/**
|
|
* devops
|
|
* System Operations Microservice
|
|
*
|
|
* The version of the OpenAPI document: 0.0.2
|
|
* Contact: noc@taxnexus.net
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*
|
|
*/
|
|
|
|
(function(root, factory) {
|
|
if (typeof define === 'function' && define.amd) {
|
|
// AMD.
|
|
define(['expect.js', process.cwd()+'/src/index'], factory);
|
|
} else if (typeof module === 'object' && module.exports) {
|
|
// CommonJS-like environments that support module.exports, like Node.
|
|
factory(require('expect.js'), require(process.cwd()+'/src/index'));
|
|
} else {
|
|
// Browser globals (root is window)
|
|
factory(root.expect, root.Devops);
|
|
}
|
|
}(this, function(expect, Devops) {
|
|
'use strict';
|
|
|
|
var instance;
|
|
|
|
beforeEach(function() {
|
|
instance = new Devops.ResponseMeta();
|
|
});
|
|
|
|
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('ResponseMeta', function() {
|
|
it('should create an instance of ResponseMeta', function() {
|
|
// uncomment below and update the code to test ResponseMeta
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be.a(Devops.ResponseMeta);
|
|
});
|
|
|
|
it('should have the property contact (base name: "Contact")', function() {
|
|
// uncomment below and update the code to test the property contact
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property copyright (base name: "Copyright")', function() {
|
|
// uncomment below and update the code to test the property copyright
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property license (base name: "License")', function() {
|
|
// uncomment below and update the code to test the property license
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property operationID (base name: "OperationID")', function() {
|
|
// uncomment below and update the code to test the property operationID
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property pagination (base name: "Pagination")', function() {
|
|
// uncomment below and update the code to test the property pagination
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property requestIP (base name: "RequestIP")', function() {
|
|
// uncomment below and update the code to test the property requestIP
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property requestType (base name: "RequestType")', function() {
|
|
// uncomment below and update the code to test the property requestType
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property requestURL (base name: "RequestURL")', function() {
|
|
// uncomment below and update the code to test the property requestURL
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property serverInfo (base name: "ServerInfo")', function() {
|
|
// uncomment below and update the code to test the property serverInfo
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property serverResponseTime (base name: "ServerResponseTime")', function() {
|
|
// uncomment below and update the code to test the property serverResponseTime
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property serverTimestamp (base name: "ServerTimestamp")', function() {
|
|
// uncomment below and update the code to test the property serverTimestamp
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() {
|
|
// uncomment below and update the code to test the property taxnexusAccount
|
|
//var instance = new Devops.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|