mirror of https://github.com/vernonkeenan/lib
240 lines
9.1 KiB
JavaScript
240 lines
9.1 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.Contract();
|
|
});
|
|
|
|
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('Contract', function() {
|
|
it('should create an instance of Contract', function() {
|
|
// uncomment below and update the code to test Contract
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be.a(Crm.Contract);
|
|
});
|
|
|
|
it('should have the property accountID (base name: "AccountID")', function() {
|
|
// uncomment below and update the code to test the property accountID
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property activatedByID (base name: "ActivatedByID")', function() {
|
|
// uncomment below and update the code to test the property activatedByID
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property activatedDate (base name: "ActivatedDate")', function() {
|
|
// uncomment below and update the code to test the property activatedDate
|
|
//var instance = new Crm.Contract();
|
|
//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.Contract();
|
|
//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.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property companySignedDate (base name: "CompanySignedDate")', function() {
|
|
// uncomment below and update the code to test the property companySignedDate
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property companySignedID (base name: "CompanySignedID")', function() {
|
|
// uncomment below and update the code to test the property companySignedID
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property contractNumber (base name: "ContractNumber")', function() {
|
|
// uncomment below and update the code to test the property contractNumber
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property contractTerm (base name: "ContractTerm")', function() {
|
|
// uncomment below and update the code to test the property contractTerm
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property createdByID (base name: "CreatedByID")', function() {
|
|
// uncomment below and update the code to test the property createdByID
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property createdDate (base name: "CreatedDate")', function() {
|
|
// uncomment below and update the code to test the property createdDate
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property customerSignedDate (base name: "CustomerSignedDate")', function() {
|
|
// uncomment below and update the code to test the property customerSignedDate
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property customerSignedID (base name: "CustomerSignedID")', function() {
|
|
// uncomment below and update the code to test the property customerSignedID
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property customerSignedTitle (base name: "CustomerSignedTitle")', function() {
|
|
// uncomment below and update the code to test the property customerSignedTitle
|
|
//var instance = new Crm.Contract();
|
|
//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.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property description (base name: "Description")', function() {
|
|
// uncomment below and update the code to test the property description
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property endDate (base name: "EndDate")', function() {
|
|
// uncomment below and update the code to test the property endDate
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property hourlyRate (base name: "HourlyRate")', function() {
|
|
// uncomment below and update the code to test the property hourlyRate
|
|
//var instance = new Crm.Contract();
|
|
//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.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() {
|
|
// uncomment below and update the code to test the property lastModifiedByID
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() {
|
|
// uncomment below and update the code to test the property lastModifiedDate
|
|
//var instance = new Crm.Contract();
|
|
//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.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property paymentMethodID (base name: "PaymentMethodID")', function() {
|
|
// uncomment below and update the code to test the property paymentMethodID
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property paymentTerms (base name: "PaymentTerms")', function() {
|
|
// uncomment below and update the code to test the property paymentTerms
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property perpetual (base name: "Perpetual")', function() {
|
|
// uncomment below and update the code to test the property perpetual
|
|
//var instance = new Crm.Contract();
|
|
//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.Contract();
|
|
//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.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property startDate (base name: "StartDate")', function() {
|
|
// uncomment below and update the code to test the property startDate
|
|
//var instance = new Crm.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property status (base name: "Status")', function() {
|
|
// uncomment below and update the code to test the property status
|
|
//var instance = new Crm.Contract();
|
|
//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.Contract();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|