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

php.model_test.mustache Maven / Gradle / Ivy

partial_header}}
/**
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Please update the test case below to test the model.
 */

namespace {{invokerPackage}};

use PHPUnit\Framework\TestCase;

/**
 * {{classname}}Test Class Doc Comment
 *
 * @category    Class
 * @description {{#description}}{{description}}{{/description}}{{^description}}{{classname}}{{/description}}
 * @package     {{invokerPackage}}
 * @author      OpenAPI Generator team
 * @link        https://openapi-generator.tech
 */
class {{classname}}Test extends TestCase
{

    /**
     * Setup before running any test case
     */
    public static function setUpBeforeClass()
    {
    }

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

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

    /**
     * Clean up after running all test cases
     */
    public static function tearDownAfterClass()
    {
    }

    /**
     * Test "{{classname}}"
     */
    public function test{{classname}}()
    {
    }
{{#vars}}

    /**
     * Test attribute "{{name}}"
     */
    public function testProperty{{nameInCamelCase}}()
    {
    }
{{/vars}}
}
{{/model}}
{{/models}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy