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

408 lines
16 KiB
JavaScript
Raw Permalink 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.User();
});
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('User', function() {
it('should create an instance of User', function() {
// uncomment below and update the code to test User
//var instance = new SfGate.User();
//expect(instance).to.be.a(SfGate.User);
});
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.User();
//expect(instance).to.be();
});
it('should have the property aboutme (base name: "aboutme")', function() {
// uncomment below and update the code to test the property aboutme
//var instance = new SfGate.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property address (base name: "address")', function() {
// uncomment below and update the code to test the property address
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property alias (base name: "alias")', function() {
// uncomment below and update the code to test the property alias
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property apikey (base name: "apikey")', function() {
// uncomment below and update the code to test the property apikey
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property auth0userid (base name: "auth0userid")', function() {
// uncomment below and update the code to test the property auth0userid
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property communitynickname (base name: "communitynickname")', function() {
// uncomment below and update the code to test the property communitynickname
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property companyname (base name: "companyname")', function() {
// uncomment below and update the code to test the property companyname
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property contactid (base name: "contactid")', function() {
// uncomment below and update the code to test the property contactid
//var instance = new SfGate.User();
//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.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property delegatedapproverid (base name: "delegatedapproverid")', function() {
// uncomment below and update the code to test the property delegatedapproverid
//var instance = new SfGate.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property division (base name: "division")', function() {
// uncomment below and update the code to test the property division
//var instance = new SfGate.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property employeenumber (base name: "employeenumber")', function() {
// uncomment below and update the code to test the property employeenumber
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property endday (base name: "endday")', function() {
// uncomment below and update the code to test the property endday
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property environment (base name: "environment")', function() {
// uncomment below and update the code to test the property environment
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property extension (base name: "extension")', function() {
// uncomment below and update the code to test the property extension
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property fabricapikey (base name: "fabricapikey")', function() {
// uncomment below and update the code to test the property fabricapikey
//var instance = new SfGate.User();
//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.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property forecastenabled (base name: "forecastenabled")', function() {
// uncomment below and update the code to test the property forecastenabled
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property fullphotourl (base name: "fullphotourl")', function() {
// uncomment below and update the code to test the property fullphotourl
//var instance = new SfGate.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property isactive (base name: "isactive")', function() {
// uncomment below and update the code to test the property isactive
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property isportalenabled (base name: "isportalenabled")', function() {
// uncomment below and update the code to test the property isportalenabled
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property isprofilephotoactive (base name: "isprofilephotoactive")', function() {
// uncomment below and update the code to test the property isprofilephotoactive
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property issystemcontrolled (base name: "issystemcontrolled")', function() {
// uncomment below and update the code to test the property issystemcontrolled
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property lastip (base name: "lastip")', function() {
// uncomment below and update the code to test the property lastip
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property lastlogin (base name: "lastlogin")', function() {
// uncomment below and update the code to test the property lastlogin
//var instance = new SfGate.User();
//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.User();
//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.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property logincount (base name: "logincount")', function() {
// uncomment below and update the code to test the property logincount
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property managerid (base name: "managerid")', function() {
// uncomment below and update the code to test the property managerid
//var instance = new SfGate.User();
//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.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property outofofficemessage (base name: "outofofficemessage")', function() {
// uncomment below and update the code to test the property outofofficemessage
//var instance = new SfGate.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property portalrole (base name: "portalrole")', function() {
// uncomment below and update the code to test the property portalrole
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property profileid (base name: "profileid")', function() {
// uncomment below and update the code to test the property profileid
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property receivesadmininfoemails (base name: "receivesadmininfoemails")', function() {
// uncomment below and update the code to test the property receivesadmininfoemails
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property receivesinfoemails (base name: "receivesinfoemails")', function() {
// uncomment below and update the code to test the property receivesinfoemails
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property senderemail (base name: "senderemail")', function() {
// uncomment below and update the code to test the property senderemail
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property sendername (base name: "sendername")', function() {
// uncomment below and update the code to test the property sendername
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property signature (base name: "signature")', function() {
// uncomment below and update the code to test the property signature
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property smallphotourl (base name: "smallphotourl")', function() {
// uncomment below and update the code to test the property smallphotourl
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property startday (base name: "startday")', function() {
// uncomment below and update the code to test the property startday
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property taxnexusaccount (base name: "taxnexusaccount")', function() {
// uncomment below and update the code to test the property taxnexusaccount
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property timezonesidkey (base name: "timezonesidkey")', function() {
// uncomment below and update the code to test the property timezonesidkey
//var instance = new SfGate.User();
//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.User();
//expect(instance).to.be();
});
it('should have the property username (base name: "username")', function() {
// uncomment below and update the code to test the property username
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property userroleid (base name: "userroleid")', function() {
// uncomment below and update the code to test the property userroleid
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property usertype (base name: "usertype")', function() {
// uncomment below and update the code to test the property usertype
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property userroles (base name: "userroles")', function() {
// uncomment below and update the code to test the property userroles
//var instance = new SfGate.User();
//expect(instance).to.be();
});
it('should have the property tenantusers (base name: "tenantusers")', function() {
// uncomment below and update the code to test the property tenantusers
//var instance = new SfGate.User();
//expect(instance).to.be();
});
});
}));