openapi-generator/samples/client/petstore/perl/t/NumberOnlyTest.t
2017-01-21 19:12:51 +08:00

34 lines
776 B
Perl

=begin comment
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
=end comment
=cut
#
# NOTE: This class is auto generated by the Swagger Codegen
# Please update the test cases below to test the model.
# Ref: https://github.com/swagger-api/swagger-codegen
#
use Test::More tests => 2;
use Test::Exception;
use lib 'lib';
use strict;
use warnings;
use_ok('WWW::SwaggerClient::Object::NumberOnly');
my $instance = WWW::SwaggerClient::Object::NumberOnly->new();
isa_ok($instance, 'WWW::SwaggerClient::Object::NumberOnly');