forked from loafle/openapi-generator-original
		
	* [Slim] Add PHPUnit4 to Composer * [Slim] Configure PHPUnit * [Slim] Add Model and Api test templates * [Slim] Refresh Slim samples
		
			
				
	
	
		
			133 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			133 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * UserTest
 | |
|  * 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 OpenAPIServer\Model\User;
 | |
| 
 | |
| /**
 | |
|  * UserTest Class Doc Comment
 | |
|  *
 | |
|  * @category Class
 | |
|  * @description User
 | |
|  * @package  OpenAPIServer\Model
 | |
|  * @author   OpenAPI Generator team
 | |
|  * @link     https://github.com/openapitools/openapi-generator
 | |
|  * @coversDefaultClass \OpenAPIServer\Model\User
 | |
|  */
 | |
| class UserTest extends \PHPUnit_Framework_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 "User"
 | |
|      */
 | |
|     public function testUser() {
 | |
|         $testUser = new User();
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Test attribute "id"
 | |
|      */
 | |
|     public function testPropertyId() {
 | |
| 
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Test attribute "username"
 | |
|      */
 | |
|     public function testPropertyUsername() {
 | |
| 
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Test attribute "firstName"
 | |
|      */
 | |
|     public function testPropertyFirstName() {
 | |
| 
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Test attribute "lastName"
 | |
|      */
 | |
|     public function testPropertyLastName() {
 | |
| 
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Test attribute "email"
 | |
|      */
 | |
|     public function testPropertyEmail() {
 | |
| 
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Test attribute "password"
 | |
|      */
 | |
|     public function testPropertyPassword() {
 | |
| 
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Test attribute "phone"
 | |
|      */
 | |
|     public function testPropertyPhone() {
 | |
| 
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Test attribute "userStatus"
 | |
|      */
 | |
|     public function testPropertyUserStatus() {
 | |
| 
 | |
|     }
 | |
| }
 | |
| 
 |