lib/client/crm/test/api/CorsApi.spec.js

154 lines
5.0 KiB
JavaScript
Raw Permalink Normal View History

2022-09-03 21:10:56 +00:00
/**
* crm
* Customer Information 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.Crm);
}
}(this, function(expect, Crm) {
'use strict';
var instance;
beforeEach(function() {
instance = new Crm.CorsApi();
});
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('CorsApi', function() {
describe('accountOptions', function() {
it('should call accountOptions successfully', function(done) {
//uncomment below and update the code to test accountOptions
//instance.accountOptions(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('accountOptionsObservable', function() {
it('should call accountOptionsObservable successfully', function(done) {
//uncomment below and update the code to test accountOptionsObservable
//instance.accountOptionsObservable(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('assetOptions', function() {
it('should call assetOptions successfully', function(done) {
//uncomment below and update the code to test assetOptions
//instance.assetOptions(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('assetOptionsObservable', function() {
it('should call assetOptionsObservable successfully', function(done) {
//uncomment below and update the code to test assetOptionsObservable
//instance.assetOptionsObservable(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('contactOptions', function() {
it('should call contactOptions successfully', function(done) {
//uncomment below and update the code to test contactOptions
//instance.contactOptions(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('contactOptionsObservable', function() {
it('should call contactOptionsObservable successfully', function(done) {
//uncomment below and update the code to test contactOptionsObservable
//instance.contactOptionsObservable(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('contractOptions', function() {
it('should call contractOptions successfully', function(done) {
//uncomment below and update the code to test contractOptions
//instance.contractOptions(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('contractOptionsObservable', function() {
it('should call contractOptionsObservable successfully', function(done) {
//uncomment below and update the code to test contractOptionsObservable
//instance.contractOptionsObservable(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('leadOptions', function() {
it('should call leadOptions successfully', function(done) {
//uncomment below and update the code to test leadOptions
//instance.leadOptions(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
describe('leadOptionsObservable', function() {
it('should call leadOptionsObservable successfully', function(done) {
//uncomment below and update the code to test leadOptionsObservable
//instance.leadOptionsObservable(function(error) {
// if (error) throw error;
//expect().to.be();
//});
done();
});
});
});
}));