Files
openapi-generator/modules/swagger-codegen/src/main/resources/perl/object_test.mustache

22 lines
427 B
Plaintext

# NOTE: This class is auto generated by the Swagger Codegen
# Please update the test case below to test the model.
use Test::More tests => 2;
use Test::Exception;
use lib 'lib';
use strict;
use warnings;
{{#models}}
{{#model}}
use_ok('{{moduleName}}::Object::{{classname}}');
my $instance = {{moduleName}}::Object::{{classname}}->new();
isa_ok($instance, '{{moduleName}}::Object::{{classname}}');
{{/model}}
{{/models}}