Yuriy Belenko 925ae68167 [Slim] Generation of UnitTest stubs (#566)
* [Slim] Add PHPUnit4 to Composer

* [Slim] Configure PHPUnit

* [Slim] Add Model and Api test templates

* [Slim] Refresh Slim samples
2018-07-16 14:25:48 +09:00

159 lines
3.0 KiB
PHP

<?php
/**
* PetApiTest
* PHP version 5
*
* @category Class
* @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: \" \\
* 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 endpoint.
*/
namespace OpenAPIServer\Api;
use OpenAPIServer\Api\PetApi;
/**
* PetApiTest Class Doc Comment
*
* @category Class
* @description PetApi
* @package OpenAPIServer\Api
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
* @coversDefaultClass \OpenAPIServer\Model\PetApi
*/
class PetApiTest 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 case for addPet
*
* Add a new pet to the store.
* @covers ::addPet
*/
public function testAddPet() {
}
/**
* Test case for deletePet
*
* Deletes a pet.
* @covers ::deletePet
*/
public function testDeletePet() {
}
/**
* Test case for findPetsByStatus
*
* Finds Pets by status.
* @covers ::findPetsByStatus
*/
public function testFindPetsByStatus() {
}
/**
* Test case for findPetsByTags
*
* Finds Pets by tags.
* @covers ::findPetsByTags
*/
public function testFindPetsByTags() {
}
/**
* Test case for getPetById
*
* Find pet by ID.
* @covers ::getPetById
*/
public function testGetPetById() {
}
/**
* Test case for updatePet
*
* Update an existing pet.
* @covers ::updatePet
*/
public function testUpdatePet() {
}
/**
* Test case for updatePetWithForm
*
* Updates a pet in the store with form data.
* @covers ::updatePetWithForm
*/
public function testUpdatePetWithForm() {
}
/**
* Test case for uploadFile
*
* uploads an image.
* @covers ::uploadFile
*/
public function testUploadFile() {
}
/**
* Test case for uploadFileWithRequiredFile
*
* uploads an image (required).
* @covers ::uploadFileWithRequiredFile
*/
public function testUploadFileWithRequiredFile() {
}
}