UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
89 lines (75 loc) 3.24 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 * * Swagger Codegen version: 2.4.14 * * 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; describe('(package)', function() { describe('FixedIncome', function() { beforeEach(function() { instance = new GitChrisQueen_TDA_JS.FixedIncome(); }); it('should create an instance of FixedIncome', function() { // TODO: update the code to test FixedIncome expect(instance).to.be.a(GitChrisQueen_TDA_JS.FixedIncome); }); it('should have the property assetType (base name: "assetType")', function() { // TODO: update the code to test the property assetType expect(instance).to.have.property('assetType'); // expect(instance.assetType).to.be(expectedValueLiteral); }); it('should have the property cusip (base name: "cusip")', function() { // TODO: update the code to test the property cusip expect(instance).to.have.property('cusip'); // expect(instance.cusip).to.be(expectedValueLiteral); }); it('should have the property description (base name: "description")', function() { // TODO: update the code to test the property description expect(instance).to.have.property('description'); // expect(instance.description).to.be(expectedValueLiteral); }); it('should have the property factor (base name: "factor")', function() { // TODO: update the code to test the property factor expect(instance).to.have.property('factor'); // expect(instance.factor).to.be(expectedValueLiteral); }); it('should have the property maturityDate (base name: "maturityDate")', function() { // TODO: update the code to test the property maturityDate expect(instance).to.have.property('maturityDate'); // expect(instance.maturityDate).to.be(expectedValueLiteral); }); it('should have the property symbol (base name: "symbol")', function() { // TODO: update the code to test the property symbol expect(instance).to.have.property('symbol'); // expect(instance.symbol).to.be(expectedValueLiteral); }); it('should have the property variableRate (base name: "variableRate")', function() { // TODO: update the code to test the property variableRate expect(instance).to.have.property('variableRate'); // expect(instance.variableRate).to.be(expectedValueLiteral); }); }); }); }));