UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
89 lines (75 loc) 3.37 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('OrderGetOrderLegCollection', function() { beforeEach(function() { instance = new GitChrisQueen_TDA_JS.OrderGetOrderLegCollection(); }); it('should create an instance of OrderGetOrderLegCollection', function() { // TODO: update the code to test OrderGetOrderLegCollection expect(instance).to.be.a(GitChrisQueen_TDA_JS.OrderGetOrderLegCollection); }); it('should have the property instruction (base name: "instruction")', function() { // TODO: update the code to test the property instruction expect(instance).to.have.property('instruction'); // expect(instance.instruction).to.be(expectedValueLiteral); }); it('should have the property instrument (base name: "instrument")', function() { // TODO: update the code to test the property instrument expect(instance).to.have.property('instrument'); // expect(instance.instrument).to.be(expectedValueLiteral); }); it('should have the property legId (base name: "legId")', function() { // TODO: update the code to test the property legId expect(instance).to.have.property('legId'); // expect(instance.legId).to.be(expectedValueLiteral); }); it('should have the property orderLegType (base name: "orderLegType")', function() { // TODO: update the code to test the property orderLegType expect(instance).to.have.property('orderLegType'); // expect(instance.orderLegType).to.be(expectedValueLiteral); }); it('should have the property positionEffect (base name: "positionEffect")', function() { // TODO: update the code to test the property positionEffect expect(instance).to.have.property('positionEffect'); // expect(instance.positionEffect).to.be(expectedValueLiteral); }); it('should have the property quantity (base name: "quantity")', function() { // TODO: update the code to test the property quantity expect(instance).to.have.property('quantity'); // expect(instance.quantity).to.be(expectedValueLiteral); }); it('should have the property quantityType (base name: "quantityType")', function() { // TODO: update the code to test the property quantityType expect(instance).to.have.property('quantityType'); // expect(instance.quantityType).to.be(expectedValueLiteral); }); }); }); }));