php-slim4-server.api_test.mustache Maven / Gradle / Ivy
licenseInfo}}
/**
* 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.
*/{{#operations}}
namespace {{apiPackage}};
use PHPUnit\Framework\TestCase;
use {{apiPackage}}\{{userClassname}};
/**
* {{userClassname}}Test Class Doc Comment
*
* @package {{apiPackage}}
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
*
* @coversDefaultClass \{{apiPackage}}\{{userClassname}}
*/
class {{userClassname}}Test extends TestCase
{
/**
* Setup before running any test cases
*/
public static function setUpBeforeClass(): void
{
}
/**
* Setup before running each test case
*/
public function setUp(): void
{
}
/**
* Clean up after running each test case
*/
public function tearDown(): void
{
}
/**
* Clean up after running all test cases
*/
public static function tearDownAfterClass(): void
{
}
{{#operation}}
/**
* Test case for {{{operationId}}}
*
* {{{summary}}}.
*
* @covers ::{{{operationId}}}
*/
public function test{{operationIdCamelCase}}()
{
self::markTestIncomplete(
'Test of "{{operationId}}" method has not been implemented yet.'
);
}
{{/operation}}
}
{{/operations}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy