forked from loafle/openapi-generator-original
* [Slim] Add PHP 7.0 to requirements * [Slim] Migrate to PHPUnit 6 * [Slim] Update user guide * [Slim] Refresh samples
107 lines
2.0 KiB
PHP
107 lines
2.0 KiB
PHP
<?php
|
|
/**
|
|
* NameTest
|
|
* PHP version 5
|
|
*
|
|
* @category Class
|
|
* @package OpenAPIServer\Model
|
|
* @author OpenAPI Generator team
|
|
* @link https://github.com/openapitools/openapi-generator
|
|
*/
|
|
|
|
/**
|
|
* OpenAPI Petstore
|
|
*
|
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
* OpenAPI spec version: 1.0.0
|
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
*/
|
|
|
|
/**
|
|
* 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 OpenAPIServer\Model;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use OpenAPIServer\Model\Name;
|
|
|
|
/**
|
|
* NameTest Class Doc Comment
|
|
*
|
|
* @category Class
|
|
* @description Model for testing model name same as property name
|
|
* @package OpenAPIServer\Model
|
|
* @author OpenAPI Generator team
|
|
* @link https://github.com/openapitools/openapi-generator
|
|
* @coversDefaultClass \OpenAPIServer\Model\Name
|
|
*/
|
|
class NameTest extends TestCase
|
|
{
|
|
|
|
/**
|
|
* Setup before running any test cases
|
|
*/
|
|
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 "Name"
|
|
*/
|
|
public function testName()
|
|
{
|
|
$testName = new Name();
|
|
}
|
|
|
|
/**
|
|
* Test attribute "name"
|
|
*/
|
|
public function testPropertyName()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test attribute "snakeCase"
|
|
*/
|
|
public function testPropertySnakeCase()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test attribute "property"
|
|
*/
|
|
public function testPropertyProperty()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test attribute "_123number"
|
|
*/
|
|
public function testProperty123number()
|
|
{
|
|
}
|
|
}
|