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

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

There is a newer version: 3.0.0-rc1
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 model.
 */

namespace {{modelPackage}};

/**
 * {{classname}}Test Class Doc Comment
 *
 * @category    Class */
// * @description {{#description}}{{description}}{{/description}}{{^description}}{{classname}}{{/description}}
/**
 * @package     {{modelTestsPackage}}
 * @author      Swagger Codegen team
 * @link        https://github.com/swagger-api/swagger-codegen
 */
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