All Downloads are FREE. Search and download functionalities are using the official Maven repository.

handlebars.php.api_test.mustache Maven / Gradle / Ivy

There is a newer version: 1.0.54
Show newest version
partial_header}}
/**
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen
 * Please update the test case below to test the endpoint.
 */

namespace {{invokerPackage}};

use {{backslash}}{{invokerPackage}}\Configuration;
use {{backslash}}{{invokerPackage}}\ApiException;
use {{backslash}}{{invokerPackage}}\ObjectSerializer;
use PHPUnit\Framework\TestCase;

/**
 * {{classname}}Test Class Doc Comment
 *
 * @category Class
 * @package  {{invokerPackage}}
 * @author   Swagger Codegen team
 * @link     https://github.com/swagger-api/swagger-codegen
 */
{{#operations}}class {{classname}}Test extends TestCase
{

    /**
     * Setup before running any test cases
     */
    public static function setUpBeforeClass(): void
    {
    }

    /**
     * Setup before running each test case
     */
    public function setUp(): void
    {
    }

    /**
     * Clean up after running each test case
     */
    public function tearDown(): void
    {
    }

    /**
     * Clean up after running all test cases
     */
    public static function tearDownAfterClass(): void
    {
    }
    {{#operation}}
    {{#contents}}

    /**
     * Test case for {{{operationId}}}
     *
     * {{{summary}}}.
     *
     */
    public function test{{vendorExtensions.x-testOperationId}}{{#isForm}}Form{{/isForm}}()
    {
    }
    {{/contents}}
    {{/operation}}
}
{{/operations}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy