forked from loafle/openapi-generator-original
		
	* Adds v2 spec additionalproperties examples, adds v3 spec nulllable model example, updates samples * Remaining samples updates * Adds csharp generator update to handle models with multilevel parent types, which works for the AdditionalPropertiesObject model, samples updated
		
			
				
	
	
		
			85 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			85 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * AdditionalPropertiesBooleanTest
 | |
|  *
 | |
|  * PHP version 7
 | |
|  *
 | |
|  * @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\AdditionalPropertiesBoolean;
 | |
| 
 | |
| /**
 | |
|  * AdditionalPropertiesBooleanTest Class Doc Comment
 | |
|  *
 | |
|  * @package OpenAPIServer\Model
 | |
|  * @author  OpenAPI Generator team
 | |
|  * @link    https://github.com/openapitools/openapi-generator
 | |
|  *
 | |
|  * @coversDefaultClass \OpenAPIServer\Model\AdditionalPropertiesBoolean
 | |
|  */
 | |
| class AdditionalPropertiesBooleanTest 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 "AdditionalPropertiesBoolean"
 | |
|      */
 | |
|     public function testAdditionalPropertiesBoolean()
 | |
|     {
 | |
|         $testAdditionalPropertiesBoolean = new AdditionalPropertiesBoolean();
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Test attribute "name"
 | |
|      */
 | |
|     public function testPropertyName()
 | |
|     {
 | |
|     }
 | |
| }
 |