mirror of https://github.com/vernonkeenan/lib
126 lines
4.4 KiB
JavaScript
126 lines
4.4 KiB
JavaScript
/**
|
|
* auth
|
|
* Authentication 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.Auth);
|
|
}
|
|
}(this, function(expect, Auth) {
|
|
'use strict';
|
|
|
|
var instance;
|
|
|
|
beforeEach(function() {
|
|
instance = new Auth.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 Auth.ResponseMeta();
|
|
//expect(instance).to.be.a(Auth.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 Auth.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 Auth.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 Auth.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 Auth.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 Auth.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 Auth.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 Auth.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 Auth.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 Auth.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 Auth.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 Auth.ResponseMeta();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|