lib/client/sf-gate/test/model/Contact.spec.js

282 lines
11 KiB
JavaScript

/**
* sf-gate
* 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.SfGate);
}
}(this, function(expect, SfGate) {
'use strict';
var instance;
beforeEach(function() {
instance = new SfGate.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 SfGate.Contact();
//expect(instance).to.be.a(SfGate.Contact);
});
it('should have the property tenantID (base name: "TenantID")', function() {
// uncomment below and update the code to test the property tenantID
//var instance = new SfGate.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 SfGate.Contact();
//expect(instance).to.be();
});
it('should have the property accountID (base name: "AccountID")', function() {
// uncomment below and update the code to test the property accountID
//var instance = new SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.Contact();
//expect(instance).to.be();
});
it('should have the property emailBounceReason (base name: "EmailBounceReason")', function() {
// uncomment below and update the code to test the property emailBounceReason
//var instance = new SfGate.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 SfGate.Contact();
//expect(instance).to.be();
});
it('should have the property facebook (base name: "Facebook")', function() {
// uncomment below and update the code to test the property facebook
//var instance = new SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.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 SfGate.Contact();
//expect(instance).to.be();
});
it('should have the property twitter (base name: "Twitter")', function() {
// uncomment below and update the code to test the property twitter
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
});
}));