{{>partial_license}}
#
# NOTE: This class is auto generated by OpenAPI Generator
# Please update the test cases below to test the API endpoints.
# Ref: https://openapi-generator.tech
#
use Test::More tests => 1; #TODO update number of test cases
use Test::Exception;

use lib 'lib';
use strict;
use warnings;

use_ok('{{moduleName}}::{{classname}}');

my $api = {{moduleName}}::{{classname}}->new();
isa_ok($api, '{{moduleName}}::{{classname}}');

{{#operations}}
{{#operation}}
#
# {{{nickname}}} test
#
{
{{#allParams}}    my ${{paramName}} = undef; # replace NULL with a proper value
{{/allParams}}
    my $result = $api->{{nickname}}({{#allParams}}{{paramName}} => ${{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
}

{{/operation}}
{{/operations}}

1;
