mirror of https://github.com/vernonkeenan/lib
204 lines
7.6 KiB
JavaScript
204 lines
7.6 KiB
JavaScript
/**
|
|
* 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.AccountBasic();
|
|
});
|
|
|
|
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('AccountBasic', function() {
|
|
it('should create an instance of AccountBasic', function() {
|
|
// uncomment below and update the code to test AccountBasic
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be.a(Crm.AccountBasic);
|
|
});
|
|
|
|
it('should have the property accountNumber (base name: "AccountNumber")', function() {
|
|
// uncomment below and update the code to test the property accountNumber
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property billingAddress (base name: "BillingAddress")', function() {
|
|
// uncomment below and update the code to test the property billingAddress
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property billingContactID (base name: "BillingContactID")', function() {
|
|
// uncomment below and update the code to test the property billingContactID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property companyID (base name: "CompanyID")', function() {
|
|
// uncomment below and update the code to test the property companyID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property coordinateID (base name: "CoordinateID")', function() {
|
|
// uncomment below and update the code to test the property coordinateID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property customerID (base name: "CustomerID")', function() {
|
|
// uncomment below and update the code to test the property customerID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property defaultAddress (base name: "DefaultAddress")', function() {
|
|
// uncomment below and update the code to test the property defaultAddress
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property defaultBackendID (base name: "DefaultBackendID")', function() {
|
|
// uncomment below and update the code to test the property defaultBackendID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property defaultDeliveryContactID (base name: "DefaultDeliveryContactID")', function() {
|
|
// uncomment below and update the code to test the property defaultDeliveryContactID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property defaultEndUserID (base name: "DefaultEndUserID")', function() {
|
|
// uncomment below and update the code to test the property defaultEndUserID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property email (base name: "Email")', function() {
|
|
// uncomment below and update the code to test the property email
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property fax (base name: "Fax")', function() {
|
|
// uncomment below and update the code to test the property fax
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property ID (base name: "ID")', function() {
|
|
// uncomment below and update the code to test the property ID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property name (base name: "Name")', function() {
|
|
// uncomment below and update the code to test the property name
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property parentFK (base name: "ParentFK")', function() {
|
|
// uncomment below and update the code to test the property parentFK
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property phone (base name: "Phone")', function() {
|
|
// uncomment below and update the code to test the property phone
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property preparerID (base name: "PreparerID")', function() {
|
|
// uncomment below and update the code to test the property preparerID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property ref (base name: "Ref")', function() {
|
|
// uncomment below and update the code to test the property ref
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property shippingAddress (base name: "ShippingAddress")', function() {
|
|
// uncomment below and update the code to test the property shippingAddress
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property shippingContactID (base name: "ShippingContactID")', function() {
|
|
// uncomment below and update the code to test the property shippingContactID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property site (base name: "Site")', function() {
|
|
// uncomment below and update the code to test the property site
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property tenantID (base name: "TenantID")', function() {
|
|
// uncomment below and update the code to test the property tenantID
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property type (base name: "Type")', function() {
|
|
// uncomment below and update the code to test the property type
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property website (base name: "Website")', function() {
|
|
// uncomment below and update the code to test the property website
|
|
//var instance = new Crm.AccountBasic();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|