example
This commit is contained in:
76
example/clients/javascript/test/model/UserInfoReply.spec.js
Normal file
76
example/clients/javascript/test/model/UserInfoReply.spec.js
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
*
|
||||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
||||
*
|
||||
* OpenAPI spec version:
|
||||
*
|
||||
* 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.18
|
||||
*
|
||||
* 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.SwaggerJsClient);
|
||||
}
|
||||
}(this, function(expect, SwaggerJsClient) {
|
||||
'use strict';
|
||||
|
||||
var instance;
|
||||
|
||||
describe('(package)', function() {
|
||||
describe('UserInfoReply', function() {
|
||||
beforeEach(function() {
|
||||
instance = new SwaggerJsClient.UserInfoReply();
|
||||
});
|
||||
|
||||
it('should create an instance of UserInfoReply', function() {
|
||||
// TODO: update the code to test UserInfoReply
|
||||
expect(instance).to.be.a(SwaggerJsClient.UserInfoReply);
|
||||
});
|
||||
|
||||
it('should have the property name (base name: "name")', function() {
|
||||
// TODO: update the code to test the property name
|
||||
expect(instance).to.have.property('name');
|
||||
// expect(instance.name).to.be(expectedValueLiteral);
|
||||
});
|
||||
|
||||
it('should have the property age (base name: "age")', function() {
|
||||
// TODO: update the code to test the property age
|
||||
expect(instance).to.have.property('age');
|
||||
// expect(instance.age).to.be(expectedValueLiteral);
|
||||
});
|
||||
|
||||
it('should have the property birthday (base name: "birthday")', function() {
|
||||
// TODO: update the code to test the property birthday
|
||||
expect(instance).to.have.property('birthday');
|
||||
// expect(instance.birthday).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 tag (base name: "tag")', function() {
|
||||
// TODO: update the code to test the property tag
|
||||
expect(instance).to.have.property('tag');
|
||||
// expect(instance.tag).to.be(expectedValueLiteral);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
}));
|
Reference in New Issue
Block a user