mirror of https://github.com/vernonkeenan/lib
198 lines
7.0 KiB
JavaScript
198 lines
7.0 KiB
JavaScript
/**
|
|
* board
|
|
* Taxnexus Onboarding Service
|
|
*
|
|
* 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.Board);
|
|
}
|
|
}(this, function(expect, Board) {
|
|
'use strict';
|
|
|
|
var instance;
|
|
|
|
beforeEach(function() {
|
|
instance = new Board.Lead();
|
|
});
|
|
|
|
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('Lead', function() {
|
|
it('should create an instance of Lead', function() {
|
|
// uncomment below and update the code to test Lead
|
|
//var instance = new Board.Lead();
|
|
//expect(instance).to.be.a(Board.Lead);
|
|
});
|
|
|
|
it('should have the property address (base name: "Address")', function() {
|
|
// uncomment below and update the code to test the property address
|
|
//var instance = new Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property company (base name: "Company")', function() {
|
|
// uncomment below and update the code to test the property company
|
|
//var instance = new Board.Lead();
|
|
//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 Board.Lead();
|
|
//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 Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property firstName (base name: "FirstName")', function() {
|
|
// uncomment below and update the code to test the property firstName
|
|
//var instance = new Board.Lead();
|
|
//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 Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property lastName (base name: "LastName")', function() {
|
|
// uncomment below and update the code to test the property lastName
|
|
//var instance = new Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property mobilePhone (base name: "MobilePhone")', function() {
|
|
// uncomment below and update the code to test the property mobilePhone
|
|
//var instance = new Board.Lead();
|
|
//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 Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property ownerId (base name: "OwnerId")', function() {
|
|
// uncomment below and update the code to test the property ownerId
|
|
//var instance = new Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property partnerAccountId (base name: "PartnerAccountId")', function() {
|
|
// uncomment below and update the code to test the property partnerAccountId
|
|
//var instance = new Board.Lead();
|
|
//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 Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property productID (base name: "ProductID")', function() {
|
|
// uncomment below and update the code to test the property productID
|
|
//var instance = new Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property refererURL (base name: "RefererURL")', function() {
|
|
// uncomment below and update the code to test the property refererURL
|
|
//var instance = new Board.Lead();
|
|
//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 Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property title (base name: "Title")', function() {
|
|
// uncomment below and update the code to test the property title
|
|
//var instance = new Board.Lead();
|
|
//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 Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property uTMCampaign (base name: "UTMCampaign")', function() {
|
|
// uncomment below and update the code to test the property uTMCampaign
|
|
//var instance = new Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property uTMContent (base name: "UTMContent")', function() {
|
|
// uncomment below and update the code to test the property uTMContent
|
|
//var instance = new Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property uTMMedium (base name: "UTMMedium")', function() {
|
|
// uncomment below and update the code to test the property uTMMedium
|
|
//var instance = new Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property uTMSource (base name: "UTMSource")', function() {
|
|
// uncomment below and update the code to test the property uTMSource
|
|
//var instance = new Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property uTMTerm (base name: "UTMTerm")', function() {
|
|
// uncomment below and update the code to test the property uTMTerm
|
|
//var instance = new Board.Lead();
|
|
//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 Board.Lead();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|