UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
113 lines (96 loc) 4.09 kB
/** * TD Ameritrade API - OAuth2 * This is replication of the TD Ameritrade API. * * OpenAPI spec version: 0.1.4 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. * */ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. define(['expect.js', '../../src/index'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. factory(require('expect.js'), require('../../src/index')); } else { // Browser globals (root is window) factory(root.expect, root.GitChrisQueen_TDA_JS); } }(this, function(expect, GitChrisQueen_TDA_JS) { 'use strict'; var instance; beforeEach(function() { instance = new GitChrisQueen_TDA_JS.Option(); }); 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('Option', function() { it('should create an instance of Option', function() { // uncomment below and update the code to test Option //var instane = new GitChrisQueen_TDA_JS.Option(); //expect(instance).to.be.a(GitChrisQueen_TDA_JS.Option); }); it('should have the property assetType (base name: "assetType")', function() { // uncomment below and update the code to test the property assetType //var instane = new GitChrisQueen_TDA_JS.Option(); //expect(instance).to.be(); }); it('should have the property cusip (base name: "cusip")', function() { // uncomment below and update the code to test the property cusip //var instane = new GitChrisQueen_TDA_JS.Option(); //expect(instance).to.be(); }); it('should have the property symbol (base name: "symbol")', function() { // uncomment below and update the code to test the property symbol //var instane = new GitChrisQueen_TDA_JS.Option(); //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 instane = new GitChrisQueen_TDA_JS.Option(); //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 instane = new GitChrisQueen_TDA_JS.Option(); //expect(instance).to.be(); }); it('should have the property putCall (base name: "putCall")', function() { // uncomment below and update the code to test the property putCall //var instane = new GitChrisQueen_TDA_JS.Option(); //expect(instance).to.be(); }); it('should have the property underlyingSymbol (base name: "underlyingSymbol")', function() { // uncomment below and update the code to test the property underlyingSymbol //var instane = new GitChrisQueen_TDA_JS.Option(); //expect(instance).to.be(); }); it('should have the property optionMultiplier (base name: "optionMultiplier")', function() { // uncomment below and update the code to test the property optionMultiplier //var instane = new GitChrisQueen_TDA_JS.Option(); //expect(instance).to.be(); }); it('should have the property optionDeliverables (base name: "optionDeliverables")', function() { // uncomment below and update the code to test the property optionDeliverables //var instane = new GitChrisQueen_TDA_JS.Option(); //expect(instance).to.be(); }); }); }));