lib/client/crm/test/model/Contact.spec.js

330 lines
12 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.Contact();
});
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('Contact', function() {
it('should create an instance of Contact', function() {
// uncomment below and update the code to test Contact
//var instance = new Crm.Contact();
//expect(instance).to.be.a(Crm.Contact);
});
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.Contact();
//expect(instance).to.be();
});
it('should have the property assistantName (base name: "AssistantName")', function() {
// uncomment below and update the code to test the property assistantName
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property assistantPhone (base name: "AssistantPhone")', function() {
// uncomment below and update the code to test the property assistantPhone
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property birthDate (base name: "BirthDate")', function() {
// uncomment below and update the code to test the property birthDate
//var instance = new Crm.Contact();
//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.Contact();
//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.Contact();
//expect(instance).to.be();
});
it('should have the property department (base name: "Department")', function() {
// uncomment below and update the code to test the property department
//var instance = new Crm.Contact();
//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.Contact();
//expect(instance).to.be();
});
it('should have the property doNotCall (base name: "DoNotCall")', function() {
// uncomment below and update the code to test the property doNotCall
//var instance = new Crm.Contact();
//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.Contact();
//expect(instance).to.be();
});
it('should have the property emailBounceDate (base name: "EmailBounceDate")', function() {
// uncomment below and update the code to test the property emailBounceDate
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property emailBouncedReason (base name: "EmailBouncedReason")', function() {
// uncomment below and update the code to test the property emailBouncedReason
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property enrollmentStatus (base name: "EnrollmentStatus")', function() {
// uncomment below and update the code to test the property enrollmentStatus
//var instance = new Crm.Contact();
//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.Contact();
//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 Crm.Contact();
//expect(instance).to.be();
});
it('should have the property hasOptedOutOfEmail (base name: "HasOptedOutOfEmail")', function() {
// uncomment below and update the code to test the property hasOptedOutOfEmail
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property hasOptedOutOfFax (base name: "HasOptedOutOfFax")', function() {
// uncomment below and update the code to test the property hasOptedOutOfFax
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property homePhone (base name: "HomePhone")', function() {
// uncomment below and update the code to test the property homePhone
//var instance = new Crm.Contact();
//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.Contact();
//expect(instance).to.be();
});
it('should have the property isEmailBounced (base name: "IsEmailBounced")', function() {
// uncomment below and update the code to test the property isEmailBounced
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property isProvisioned (base name: "IsProvisioned")', function() {
// uncomment below and update the code to test the property isProvisioned
//var instance = new Crm.Contact();
//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.Contact();
//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.Contact();
//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 Crm.Contact();
//expect(instance).to.be();
});
it('should have the property leadSource (base name: "LeadSource")', function() {
// uncomment below and update the code to test the property leadSource
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property level (base name: "Level")', function() {
// uncomment below and update the code to test the property level
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property linkedIn (base name: "LinkedIn")', function() {
// uncomment below and update the code to test the property linkedIn
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property mailingAddress (base name: "MailingAddress")', function() {
// uncomment below and update the code to test the property mailingAddress
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property mailingLists (base name: "MailingLists")', function() {
// uncomment below and update the code to test the property mailingLists
//var instance = new Crm.Contact();
//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 Crm.Contact();
//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.Contact();
//expect(instance).to.be();
});
it('should have the property otherAddress (base name: "OtherAddress")', function() {
// uncomment below and update the code to test the property otherAddress
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property otherPhone (base name: "OtherPhone")', function() {
// uncomment below and update the code to test the property otherPhone
//var instance = new Crm.Contact();
//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 Crm.Contact();
//expect(instance).to.be();
});
it('should have the property personalEmail (base name: "PersonalEmail")', function() {
// uncomment below and update the code to test the property personalEmail
//var instance = new Crm.Contact();
//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.Contact();
//expect(instance).to.be();
});
it('should have the property photoURL (base name: "PhotoURL")', function() {
// uncomment below and update the code to test the property photoURL
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property recruitingStatus (base name: "RecruitingStatus")', function() {
// uncomment below and update the code to test the property recruitingStatus
//var instance = new Crm.Contact();
//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.Contact();
//expect(instance).to.be();
});
it('should have the property reportsToID (base name: "ReportsToID")', function() {
// uncomment below and update the code to test the property reportsToID
//var instance = new Crm.Contact();
//expect(instance).to.be();
});
it('should have the property salutation (base name: "Salutation")', function() {
// uncomment below and update the code to test the property salutation
//var instance = new Crm.Contact();
//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.Contact();
//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.Contact();
//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 Crm.Contact();
//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.Contact();
//expect(instance).to.be();
});
});
}));