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

php-symfony.testing.model_test.mustache Maven / Gradle / Ivy

partial_header}}
/**
 * NOTE: This class is auto generated by the openapi generator program.
 * https://github.com/openapitools/openapi-generator
 * Please update the test case below to test the model.
 */

namespace {{modelPackage}};

/**
 * {{classname}}Test Class Doc Comment
 *
 * @category    Class */
// * @description {{#description}}{{description}}{{/description}}{{^description}}{{classname}}{{/description}}
/**
 * @package     {{modelTestsPackage}}
 * @author      openapi-generator contributors
 * @link        https://github.com/openapitools/openapi-generator
 */
class {{classname}}Test extends \PHPUnit_Framework_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}}()
    {
        $test{{classname}} = new {{classname}}();
    }
{{#vars}}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy