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

282 lines
11 KiB
JavaScript
Raw Normal View History

2022-09-03 21:10:56 +00:00
/**
* 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);
});
2022-09-05 00:01:32 +00:00
it('should have the property tenantID (base name: "TenantID")', function() {
// uncomment below and update the code to test the property tenantID
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property ID (base name: "ID")', function() {
// uncomment below and update the code to test the property ID
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property accountID (base name: "AccountID")', function() {
// uncomment below and update the code to test the property accountID
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property assistantName (base name: "AssistantName")', function() {
// uncomment below and update the code to test the property assistantName
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property assistantPhone (base name: "AssistantPhone")', function() {
// uncomment below and update the code to test the property assistantPhone
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property birthDate (base name: "BirthDate")', function() {
// uncomment below and update the code to test the property birthDate
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property createdByID (base name: "CreatedByID")', function() {
// uncomment below and update the code to test the property createdByID
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property createdDate (base name: "CreatedDate")', function() {
// uncomment below and update the code to test the property createdDate
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property department (base name: "Department")', function() {
// uncomment below and update the code to test the property department
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property description (base name: "Description")', function() {
// uncomment below and update the code to test the property description
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property doNotCall (base name: "DoNotCall")', function() {
// uncomment below and update the code to test the property doNotCall
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property email (base name: "Email")', function() {
// uncomment below and update the code to test the property email
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property emailBounceDate (base name: "EmailBounceDate")', function() {
// uncomment below and update the code to test the property emailBounceDate
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property emailBounceReason (base name: "EmailBounceReason")', function() {
// uncomment below and update the code to test the property emailBounceReason
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property fax (base name: "Fax")', function() {
2022-09-03 21:10:56 +00:00
// uncomment below and update the code to test the property fax
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property facebook (base name: "Facebook")', function() {
// uncomment below and update the code to test the property facebook
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property firstName (base name: "FirstName")', function() {
// uncomment below and update the code to test the property firstName
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property hasOptedOutOfEmail (base name: "HasOptedOutOfEmail")', function() {
// uncomment below and update the code to test the property hasOptedOutOfEmail
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property hasOptedOutOfFax (base name: "HasOptedOutOfFax")', function() {
// uncomment below and update the code to test the property hasOptedOutOfFax
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property homePhone (base name: "HomePhone")', function() {
// uncomment below and update the code to test the property homePhone
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property isEmailBounced (base name: "IsEmailBounced")', function() {
// uncomment below and update the code to test the property isEmailBounced
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() {
// uncomment below and update the code to test the property lastModifiedByID
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() {
// uncomment below and update the code to test the property lastModifiedDate
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property lastName (base name: "LastName")', function() {
// uncomment below and update the code to test the property lastName
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property leadSource (base name: "LeadSource")', function() {
// uncomment below and update the code to test the property leadSource
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property linkedIn (base name: "LinkedIn")', function() {
// uncomment below and update the code to test the property linkedIn
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property mailingAddress (base name: "MailingAddress")', function() {
// uncomment below and update the code to test the property mailingAddress
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property mobilePhone (base name: "MobilePhone")', function() {
// uncomment below and update the code to test the property mobilePhone
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property name (base name: "Name")', function() {
2022-09-03 21:10:56 +00:00
// uncomment below and update the code to test the property name
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property otherAddress (base name: "OtherAddress")', function() {
// uncomment below and update the code to test the property otherAddress
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property otherPhone (base name: "OtherPhone")', function() {
// uncomment below and update the code to test the property otherPhone
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property ownerID (base name: "OwnerID")', function() {
// uncomment below and update the code to test the property ownerID
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property personalEmail (base name: "PersonalEmail")', function() {
// uncomment below and update the code to test the property personalEmail
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property phone (base name: "Phone")', function() {
2022-09-03 21:10:56 +00:00
// uncomment below and update the code to test the property phone
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property photoURL (base name: "PhotoURL")', function() {
// uncomment below and update the code to test the property photoURL
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property title (base name: "Title")', function() {
2022-09-03 21:10:56 +00:00
// uncomment below and update the code to test the property title
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
2022-09-05 00:01:32 +00:00
it('should have the property twitter (base name: "Twitter")', function() {
// uncomment below and update the code to test the property twitter
2022-09-03 21:10:56 +00:00
//var instance = new SfGate.Contact();
//expect(instance).to.be();
});
});
}));