forked from loafle/openapi-generator-original
105 lines
2.1 KiB
PHP
105 lines
2.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* InlineObjectTest
|
|
*
|
|
* PHP version 7.1
|
|
*
|
|
* @package OpenAPIServer\Model
|
|
* @author OpenAPI Generator team
|
|
* @link https://github.com/openapitools/openapi-generator
|
|
*/
|
|
|
|
/**
|
|
* OpenAPI Petstore
|
|
*
|
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
* The version of the OpenAPI document: 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\InlineObject;
|
|
|
|
/**
|
|
* InlineObjectTest Class Doc Comment
|
|
*
|
|
* @package OpenAPIServer\Model
|
|
* @author OpenAPI Generator team
|
|
* @link https://github.com/openapitools/openapi-generator
|
|
*
|
|
* @coversDefaultClass \OpenAPIServer\Model\InlineObject
|
|
*/
|
|
class InlineObjectTest 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 "InlineObject"
|
|
*/
|
|
public function testInlineObject()
|
|
{
|
|
$testInlineObject = new InlineObject();
|
|
}
|
|
|
|
/**
|
|
* Test attribute "name"
|
|
*/
|
|
public function testPropertyName()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test attribute "status"
|
|
*/
|
|
public function testPropertyStatus()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test getOpenApiSchema static method
|
|
* @covers ::getOpenApiSchema
|
|
*/
|
|
public function testGetOpenApiSchema()
|
|
{
|
|
$schemaObject = InlineObject::getOpenApiSchema();
|
|
$schemaArr = InlineObject::getOpenApiSchema(true);
|
|
$this->assertIsObject($schemaObject);
|
|
$this->assertIsArray($schemaArr);
|
|
}
|
|
}
|