forked from loafle/openapi-generator-original
* [Slim4] Bump PHP_CodeSniffer version to 3.5.* * [Slim4] Update samples * [Slim4] Update template to meet PSR-12
225 lines
4.3 KiB
PHP
225 lines
4.3 KiB
PHP
<?php
|
|
|
|
/**
|
|
* FakeApiTest
|
|
*
|
|
* PHP version 7.1
|
|
*
|
|
* @package OpenAPIServer\Api
|
|
* @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: \" \\
|
|
* 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 endpoint.
|
|
*/
|
|
namespace OpenAPIServer\Api;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use OpenAPIServer\Api\FakeApi;
|
|
|
|
/**
|
|
* FakeApiTest Class Doc Comment
|
|
*
|
|
* @package OpenAPIServer\Api
|
|
* @author OpenAPI Generator team
|
|
* @link https://github.com/openapitools/openapi-generator
|
|
*
|
|
* @coversDefaultClass \OpenAPIServer\Api\FakeApi
|
|
*/
|
|
class FakeApiTest 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 case for createXmlItem
|
|
*
|
|
* creates an XmlItem.
|
|
*
|
|
* @covers ::createXmlItem
|
|
*/
|
|
public function testCreateXmlItem()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for fakeOuterBooleanSerialize
|
|
*
|
|
* .
|
|
*
|
|
* @covers ::fakeOuterBooleanSerialize
|
|
*/
|
|
public function testFakeOuterBooleanSerialize()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for fakeOuterCompositeSerialize
|
|
*
|
|
* .
|
|
*
|
|
* @covers ::fakeOuterCompositeSerialize
|
|
*/
|
|
public function testFakeOuterCompositeSerialize()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for fakeOuterNumberSerialize
|
|
*
|
|
* .
|
|
*
|
|
* @covers ::fakeOuterNumberSerialize
|
|
*/
|
|
public function testFakeOuterNumberSerialize()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for fakeOuterStringSerialize
|
|
*
|
|
* .
|
|
*
|
|
* @covers ::fakeOuterStringSerialize
|
|
*/
|
|
public function testFakeOuterStringSerialize()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for testBodyWithFileSchema
|
|
*
|
|
* .
|
|
*
|
|
* @covers ::testBodyWithFileSchema
|
|
*/
|
|
public function testTestBodyWithFileSchema()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for testBodyWithQueryParams
|
|
*
|
|
* .
|
|
*
|
|
* @covers ::testBodyWithQueryParams
|
|
*/
|
|
public function testTestBodyWithQueryParams()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for testClientModel
|
|
*
|
|
* To test \"client\" model.
|
|
*
|
|
* @covers ::testClientModel
|
|
*/
|
|
public function testTestClientModel()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for testEndpointParameters
|
|
*
|
|
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트.
|
|
*
|
|
* @covers ::testEndpointParameters
|
|
*/
|
|
public function testTestEndpointParameters()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for testEnumParameters
|
|
*
|
|
* To test enum parameters.
|
|
*
|
|
* @covers ::testEnumParameters
|
|
*/
|
|
public function testTestEnumParameters()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for testGroupParameters
|
|
*
|
|
* Fake endpoint to test group parameters (optional).
|
|
*
|
|
* @covers ::testGroupParameters
|
|
*/
|
|
public function testTestGroupParameters()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for testInlineAdditionalProperties
|
|
*
|
|
* test inline additionalProperties.
|
|
*
|
|
* @covers ::testInlineAdditionalProperties
|
|
*/
|
|
public function testTestInlineAdditionalProperties()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for testJsonFormData
|
|
*
|
|
* test json serialization of form data.
|
|
*
|
|
* @covers ::testJsonFormData
|
|
*/
|
|
public function testTestJsonFormData()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for testQueryParameterCollectionFormat
|
|
*
|
|
* .
|
|
*
|
|
* @covers ::testQueryParameterCollectionFormat
|
|
*/
|
|
public function testTestQueryParameterCollectionFormat()
|
|
{
|
|
}
|
|
}
|