diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/api_test.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/api_test.mustache index d25f0d08ea87..eabddfa16cd5 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/api_test.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/api_test.mustache @@ -87,6 +87,9 @@ class {{userClassname}}Test extends TestCase */ public function test{{operationIdCamelCase}}() { + $this->markTestIncomplete( + 'Test of "{{operationId}}" method has not been implemented yet.' + ); } {{/operation}} } diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/model_test.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/model_test.mustache index 39ced58f6a42..1b762f228fd9 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/model_test.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/model_test.mustache @@ -85,6 +85,9 @@ class {{classname}}Test extends TestCase public function test{{classname}}() { $test{{classname}} = new {{classname}}(); + $this->markTestIncomplete( + 'Test of "{{classname}}" model has not been implemented yet.' + ); } {{#vars}} @@ -93,6 +96,9 @@ class {{classname}}Test extends TestCase */ public function testProperty{{nameInCamelCase}}() { + $this->markTestIncomplete( + 'Test of "{{name}}" property in "{{classname}}" model has not been implemented yet.' + ); } {{/vars}} diff --git a/samples/server/petstore/php-slim4/.openapi-generator/FILES b/samples/server/petstore/php-slim4/.openapi-generator/FILES index ba22c031220d..08d44362bcff 100644 --- a/samples/server/petstore/php-slim4/.openapi-generator/FILES +++ b/samples/server/petstore/php-slim4/.openapi-generator/FILES @@ -81,7 +81,61 @@ lib/Utils/ModelUtilsTrait.php lib/Utils/StringUtilsTrait.php phpcs.xml.dist phpunit.xml.dist +test/Api/AnotherFakeApiTest.php +test/Api/FakeApiTest.php +test/Api/FakeClassnameTags123ApiTest.php +test/Api/PetApiTest.php +test/Api/StoreApiTest.php +test/Api/UserApiTest.php test/Mock/OpenApiDataMockerMiddlewareTest.php test/Mock/OpenApiDataMockerTest.php +test/Model/AdditionalPropertiesAnyTypeTest.php +test/Model/AdditionalPropertiesArrayTest.php +test/Model/AdditionalPropertiesBooleanTest.php +test/Model/AdditionalPropertiesClassTest.php +test/Model/AdditionalPropertiesIntegerTest.php +test/Model/AdditionalPropertiesNumberTest.php +test/Model/AdditionalPropertiesObjectTest.php +test/Model/AdditionalPropertiesStringTest.php +test/Model/AnimalTest.php +test/Model/ApiResponseTest.php +test/Model/ArrayOfArrayOfNumberOnlyTest.php +test/Model/ArrayOfNumberOnlyTest.php +test/Model/ArrayTestTest.php +test/Model/BigCatAllOfTest.php +test/Model/BigCatTest.php +test/Model/CapitalizationTest.php +test/Model/CatAllOfTest.php +test/Model/CatTest.php +test/Model/CategoryTest.php +test/Model/ClassModelTest.php +test/Model/ClientTest.php +test/Model/DogAllOfTest.php +test/Model/DogTest.php +test/Model/EnumArraysTest.php +test/Model/EnumClassTest.php +test/Model/EnumTestTest.php +test/Model/FileSchemaTestClassTest.php +test/Model/FileTest.php +test/Model/FormatTestTest.php +test/Model/HasOnlyReadOnlyTest.php +test/Model/MapTestTest.php +test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php +test/Model/Model200ResponseTest.php +test/Model/ModelListTest.php +test/Model/ModelReturnTest.php +test/Model/NameTest.php +test/Model/NumberOnlyTest.php +test/Model/OrderTest.php +test/Model/OuterCompositeTest.php +test/Model/OuterEnumTest.php +test/Model/PetTest.php +test/Model/ReadOnlyFirstTest.php +test/Model/SpecialModelNameTest.php +test/Model/TagTest.php +test/Model/TypeHolderDefaultTest.php +test/Model/TypeHolderExampleTest.php +test/Model/UserTest.php +test/Model/XmlItemTest.php test/Utils/ModelUtilsTraitTest.php test/Utils/StringUtilsTraitTest.php diff --git a/samples/server/petstore/php-slim4/test/Api/AnotherFakeApiTest.php b/samples/server/petstore/php-slim4/test/Api/AnotherFakeApiTest.php index bac07ce85cdb..25bca78aa0fc 100644 --- a/samples/server/petstore/php-slim4/test/Api/AnotherFakeApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/AnotherFakeApiTest.php @@ -77,5 +77,8 @@ public static function tearDownAfterClass() */ public function testCall123TestSpecialTags() { + $this->markTestIncomplete( + 'Test of "call123TestSpecialTags" method has not been implemented yet.' + ); } } diff --git a/samples/server/petstore/php-slim4/test/Api/FakeApiTest.php b/samples/server/petstore/php-slim4/test/Api/FakeApiTest.php index eb58e0e63f24..80ff4f4c82f1 100644 --- a/samples/server/petstore/php-slim4/test/Api/FakeApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/FakeApiTest.php @@ -77,6 +77,9 @@ public static function tearDownAfterClass() */ public function testCreateXmlItem() { + $this->markTestIncomplete( + 'Test of "createXmlItem" method has not been implemented yet.' + ); } /** @@ -88,6 +91,9 @@ public function testCreateXmlItem() */ public function testFakeOuterBooleanSerialize() { + $this->markTestIncomplete( + 'Test of "fakeOuterBooleanSerialize" method has not been implemented yet.' + ); } /** @@ -99,6 +105,9 @@ public function testFakeOuterBooleanSerialize() */ public function testFakeOuterCompositeSerialize() { + $this->markTestIncomplete( + 'Test of "fakeOuterCompositeSerialize" method has not been implemented yet.' + ); } /** @@ -110,6 +119,9 @@ public function testFakeOuterCompositeSerialize() */ public function testFakeOuterNumberSerialize() { + $this->markTestIncomplete( + 'Test of "fakeOuterNumberSerialize" method has not been implemented yet.' + ); } /** @@ -121,6 +133,9 @@ public function testFakeOuterNumberSerialize() */ public function testFakeOuterStringSerialize() { + $this->markTestIncomplete( + 'Test of "fakeOuterStringSerialize" method has not been implemented yet.' + ); } /** @@ -132,6 +147,9 @@ public function testFakeOuterStringSerialize() */ public function testTestBodyWithFileSchema() { + $this->markTestIncomplete( + 'Test of "testBodyWithFileSchema" method has not been implemented yet.' + ); } /** @@ -143,6 +161,9 @@ public function testTestBodyWithFileSchema() */ public function testTestBodyWithQueryParams() { + $this->markTestIncomplete( + 'Test of "testBodyWithQueryParams" method has not been implemented yet.' + ); } /** @@ -154,17 +175,23 @@ public function testTestBodyWithQueryParams() */ public function testTestClientModel() { + $this->markTestIncomplete( + 'Test of "testClientModel" method has not been implemented yet.' + ); } /** * Test case for testEndpointParameters * - * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트. + * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트. * * @covers ::testEndpointParameters */ public function testTestEndpointParameters() { + $this->markTestIncomplete( + 'Test of "testEndpointParameters" method has not been implemented yet.' + ); } /** @@ -176,6 +203,9 @@ public function testTestEndpointParameters() */ public function testTestEnumParameters() { + $this->markTestIncomplete( + 'Test of "testEnumParameters" method has not been implemented yet.' + ); } /** @@ -187,6 +217,9 @@ public function testTestEnumParameters() */ public function testTestGroupParameters() { + $this->markTestIncomplete( + 'Test of "testGroupParameters" method has not been implemented yet.' + ); } /** @@ -198,6 +231,9 @@ public function testTestGroupParameters() */ public function testTestInlineAdditionalProperties() { + $this->markTestIncomplete( + 'Test of "testInlineAdditionalProperties" method has not been implemented yet.' + ); } /** @@ -209,6 +245,9 @@ public function testTestInlineAdditionalProperties() */ public function testTestJsonFormData() { + $this->markTestIncomplete( + 'Test of "testJsonFormData" method has not been implemented yet.' + ); } /** @@ -220,5 +259,8 @@ public function testTestJsonFormData() */ public function testTestQueryParameterCollectionFormat() { + $this->markTestIncomplete( + 'Test of "testQueryParameterCollectionFormat" method has not been implemented yet.' + ); } } diff --git a/samples/server/petstore/php-slim4/test/Api/FakeClassnameTags123ApiTest.php b/samples/server/petstore/php-slim4/test/Api/FakeClassnameTags123ApiTest.php index 0b8bb0215edd..c41ab163d314 100644 --- a/samples/server/petstore/php-slim4/test/Api/FakeClassnameTags123ApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/FakeClassnameTags123ApiTest.php @@ -77,5 +77,8 @@ public static function tearDownAfterClass() */ public function testTestClassname() { + $this->markTestIncomplete( + 'Test of "testClassname" method has not been implemented yet.' + ); } } diff --git a/samples/server/petstore/php-slim4/test/Api/PetApiTest.php b/samples/server/petstore/php-slim4/test/Api/PetApiTest.php index 7ce11ac25442..6b8bf152a4f4 100644 --- a/samples/server/petstore/php-slim4/test/Api/PetApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/PetApiTest.php @@ -77,6 +77,9 @@ public static function tearDownAfterClass() */ public function testAddPet() { + $this->markTestIncomplete( + 'Test of "addPet" method has not been implemented yet.' + ); } /** @@ -88,6 +91,9 @@ public function testAddPet() */ public function testDeletePet() { + $this->markTestIncomplete( + 'Test of "deletePet" method has not been implemented yet.' + ); } /** @@ -99,6 +105,9 @@ public function testDeletePet() */ public function testFindPetsByStatus() { + $this->markTestIncomplete( + 'Test of "findPetsByStatus" method has not been implemented yet.' + ); } /** @@ -110,6 +119,9 @@ public function testFindPetsByStatus() */ public function testFindPetsByTags() { + $this->markTestIncomplete( + 'Test of "findPetsByTags" method has not been implemented yet.' + ); } /** @@ -121,6 +133,9 @@ public function testFindPetsByTags() */ public function testGetPetById() { + $this->markTestIncomplete( + 'Test of "getPetById" method has not been implemented yet.' + ); } /** @@ -132,6 +147,9 @@ public function testGetPetById() */ public function testUpdatePet() { + $this->markTestIncomplete( + 'Test of "updatePet" method has not been implemented yet.' + ); } /** @@ -143,6 +161,9 @@ public function testUpdatePet() */ public function testUpdatePetWithForm() { + $this->markTestIncomplete( + 'Test of "updatePetWithForm" method has not been implemented yet.' + ); } /** @@ -154,6 +175,9 @@ public function testUpdatePetWithForm() */ public function testUploadFile() { + $this->markTestIncomplete( + 'Test of "uploadFile" method has not been implemented yet.' + ); } /** @@ -165,5 +189,8 @@ public function testUploadFile() */ public function testUploadFileWithRequiredFile() { + $this->markTestIncomplete( + 'Test of "uploadFileWithRequiredFile" method has not been implemented yet.' + ); } } diff --git a/samples/server/petstore/php-slim4/test/Api/StoreApiTest.php b/samples/server/petstore/php-slim4/test/Api/StoreApiTest.php index d4e8018a94af..5d76133c0d30 100644 --- a/samples/server/petstore/php-slim4/test/Api/StoreApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/StoreApiTest.php @@ -77,6 +77,9 @@ public static function tearDownAfterClass() */ public function testDeleteOrder() { + $this->markTestIncomplete( + 'Test of "deleteOrder" method has not been implemented yet.' + ); } /** @@ -88,6 +91,9 @@ public function testDeleteOrder() */ public function testGetInventory() { + $this->markTestIncomplete( + 'Test of "getInventory" method has not been implemented yet.' + ); } /** @@ -99,6 +105,9 @@ public function testGetInventory() */ public function testGetOrderById() { + $this->markTestIncomplete( + 'Test of "getOrderById" method has not been implemented yet.' + ); } /** @@ -110,5 +119,8 @@ public function testGetOrderById() */ public function testPlaceOrder() { + $this->markTestIncomplete( + 'Test of "placeOrder" method has not been implemented yet.' + ); } } diff --git a/samples/server/petstore/php-slim4/test/Api/UserApiTest.php b/samples/server/petstore/php-slim4/test/Api/UserApiTest.php index a1166ee75bc7..33d7a298a64f 100644 --- a/samples/server/petstore/php-slim4/test/Api/UserApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/UserApiTest.php @@ -77,6 +77,9 @@ public static function tearDownAfterClass() */ public function testCreateUser() { + $this->markTestIncomplete( + 'Test of "createUser" method has not been implemented yet.' + ); } /** @@ -88,6 +91,9 @@ public function testCreateUser() */ public function testCreateUsersWithArrayInput() { + $this->markTestIncomplete( + 'Test of "createUsersWithArrayInput" method has not been implemented yet.' + ); } /** @@ -99,6 +105,9 @@ public function testCreateUsersWithArrayInput() */ public function testCreateUsersWithListInput() { + $this->markTestIncomplete( + 'Test of "createUsersWithListInput" method has not been implemented yet.' + ); } /** @@ -110,6 +119,9 @@ public function testCreateUsersWithListInput() */ public function testDeleteUser() { + $this->markTestIncomplete( + 'Test of "deleteUser" method has not been implemented yet.' + ); } /** @@ -121,6 +133,9 @@ public function testDeleteUser() */ public function testGetUserByName() { + $this->markTestIncomplete( + 'Test of "getUserByName" method has not been implemented yet.' + ); } /** @@ -132,6 +147,9 @@ public function testGetUserByName() */ public function testLoginUser() { + $this->markTestIncomplete( + 'Test of "loginUser" method has not been implemented yet.' + ); } /** @@ -143,6 +161,9 @@ public function testLoginUser() */ public function testLogoutUser() { + $this->markTestIncomplete( + 'Test of "logoutUser" method has not been implemented yet.' + ); } /** @@ -154,5 +175,8 @@ public function testLogoutUser() */ public function testUpdateUser() { + $this->markTestIncomplete( + 'Test of "updateUser" method has not been implemented yet.' + ); } } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesAnyTypeTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesAnyTypeTest.php index 52884b81c7f3..002865b885dd 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesAnyTypeTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesAnyTypeTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testAdditionalPropertiesAnyType() { $testAdditionalPropertiesAnyType = new AdditionalPropertiesAnyType(); + $this->markTestIncomplete( + 'Test of "AdditionalPropertiesAnyType" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testAdditionalPropertiesAnyType() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "AdditionalPropertiesAnyType" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = AdditionalPropertiesAnyType::getOpenApiSchema(); + $schemaArr = AdditionalPropertiesAnyType::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesArrayTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesArrayTest.php index 5084c28d0016..a898fe10b1cc 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesArrayTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesArrayTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testAdditionalPropertiesArray() { $testAdditionalPropertiesArray = new AdditionalPropertiesArray(); + $this->markTestIncomplete( + 'Test of "AdditionalPropertiesArray" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testAdditionalPropertiesArray() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "AdditionalPropertiesArray" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = AdditionalPropertiesArray::getOpenApiSchema(); + $schemaArr = AdditionalPropertiesArray::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesBooleanTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesBooleanTest.php index 8816b8fcb880..6d71f1f28822 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesBooleanTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesBooleanTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testAdditionalPropertiesBoolean() { $testAdditionalPropertiesBoolean = new AdditionalPropertiesBoolean(); + $this->markTestIncomplete( + 'Test of "AdditionalPropertiesBoolean" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testAdditionalPropertiesBoolean() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "AdditionalPropertiesBoolean" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = AdditionalPropertiesBoolean::getOpenApiSchema(); + $schemaArr = AdditionalPropertiesBoolean::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesClassTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesClassTest.php index 09b852d612af..34bb7175572e 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesClassTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesClassTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testAdditionalPropertiesClass() { $testAdditionalPropertiesClass = new AdditionalPropertiesClass(); + $this->markTestIncomplete( + 'Test of "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testAdditionalPropertiesClass() */ public function testPropertyMapString() { + $this->markTestIncomplete( + 'Test of "mapString" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyMapString() */ public function testPropertyMapNumber() { + $this->markTestIncomplete( + 'Test of "mapNumber" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyMapNumber() */ public function testPropertyMapInteger() { + $this->markTestIncomplete( + 'Test of "mapInteger" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertyMapInteger() */ public function testPropertyMapBoolean() { + $this->markTestIncomplete( + 'Test of "mapBoolean" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -109,6 +124,9 @@ public function testPropertyMapBoolean() */ public function testPropertyMapArrayInteger() { + $this->markTestIncomplete( + 'Test of "mapArrayInteger" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -116,6 +134,9 @@ public function testPropertyMapArrayInteger() */ public function testPropertyMapArrayAnytype() { + $this->markTestIncomplete( + 'Test of "mapArrayAnytype" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -123,6 +144,9 @@ public function testPropertyMapArrayAnytype() */ public function testPropertyMapMapString() { + $this->markTestIncomplete( + 'Test of "mapMapString" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -130,6 +154,9 @@ public function testPropertyMapMapString() */ public function testPropertyMapMapAnytype() { + $this->markTestIncomplete( + 'Test of "mapMapAnytype" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -137,6 +164,9 @@ public function testPropertyMapMapAnytype() */ public function testPropertyAnytype1() { + $this->markTestIncomplete( + 'Test of "anytype1" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -144,6 +174,9 @@ public function testPropertyAnytype1() */ public function testPropertyAnytype2() { + $this->markTestIncomplete( + 'Test of "anytype2" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -151,5 +184,20 @@ public function testPropertyAnytype2() */ public function testPropertyAnytype3() { + $this->markTestIncomplete( + 'Test of "anytype3" property in "AdditionalPropertiesClass" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = AdditionalPropertiesClass::getOpenApiSchema(); + $schemaArr = AdditionalPropertiesClass::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesIntegerTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesIntegerTest.php index affc7340852e..dbec16f3a6a4 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesIntegerTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesIntegerTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testAdditionalPropertiesInteger() { $testAdditionalPropertiesInteger = new AdditionalPropertiesInteger(); + $this->markTestIncomplete( + 'Test of "AdditionalPropertiesInteger" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testAdditionalPropertiesInteger() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "AdditionalPropertiesInteger" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = AdditionalPropertiesInteger::getOpenApiSchema(); + $schemaArr = AdditionalPropertiesInteger::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesNumberTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesNumberTest.php index 300e032b0669..c0d7859cb003 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesNumberTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesNumberTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testAdditionalPropertiesNumber() { $testAdditionalPropertiesNumber = new AdditionalPropertiesNumber(); + $this->markTestIncomplete( + 'Test of "AdditionalPropertiesNumber" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testAdditionalPropertiesNumber() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "AdditionalPropertiesNumber" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = AdditionalPropertiesNumber::getOpenApiSchema(); + $schemaArr = AdditionalPropertiesNumber::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesObjectTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesObjectTest.php index ea860dae5a99..a28f9a263f2f 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesObjectTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesObjectTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testAdditionalPropertiesObject() { $testAdditionalPropertiesObject = new AdditionalPropertiesObject(); + $this->markTestIncomplete( + 'Test of "AdditionalPropertiesObject" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testAdditionalPropertiesObject() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "AdditionalPropertiesObject" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = AdditionalPropertiesObject::getOpenApiSchema(); + $schemaArr = AdditionalPropertiesObject::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesStringTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesStringTest.php index 5cd34bdfef16..942914d3f9a8 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesStringTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesStringTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testAdditionalPropertiesString() { $testAdditionalPropertiesString = new AdditionalPropertiesString(); + $this->markTestIncomplete( + 'Test of "AdditionalPropertiesString" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testAdditionalPropertiesString() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "AdditionalPropertiesString" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = AdditionalPropertiesString::getOpenApiSchema(); + $schemaArr = AdditionalPropertiesString::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/AnimalTest.php b/samples/server/petstore/php-slim4/test/Model/AnimalTest.php index b5fb22d216e1..25a73eeb42d0 100644 --- a/samples/server/petstore/php-slim4/test/Model/AnimalTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AnimalTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testAnimal() { $testAnimal = new Animal(); + $this->markTestIncomplete( + 'Test of "Animal" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testAnimal() */ public function testPropertyClassName() { + $this->markTestIncomplete( + 'Test of "className" property in "Animal" model has not been implemented yet.' + ); } /** @@ -88,5 +94,20 @@ public function testPropertyClassName() */ public function testPropertyColor() { + $this->markTestIncomplete( + 'Test of "color" property in "Animal" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Animal::getOpenApiSchema(); + $schemaArr = Animal::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/ApiResponseTest.php b/samples/server/petstore/php-slim4/test/Model/ApiResponseTest.php index 1f6dcd0f06ae..e2b981f8055b 100644 --- a/samples/server/petstore/php-slim4/test/Model/ApiResponseTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ApiResponseTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testApiResponse() { $testApiResponse = new ApiResponse(); + $this->markTestIncomplete( + 'Test of "ApiResponse" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testApiResponse() */ public function testPropertyCode() { + $this->markTestIncomplete( + 'Test of "code" property in "ApiResponse" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyCode() */ public function testPropertyType() { + $this->markTestIncomplete( + 'Test of "type" property in "ApiResponse" model has not been implemented yet.' + ); } /** @@ -95,5 +104,20 @@ public function testPropertyType() */ public function testPropertyMessage() { + $this->markTestIncomplete( + 'Test of "message" property in "ApiResponse" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = ApiResponse::getOpenApiSchema(); + $schemaArr = ApiResponse::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/ArrayOfArrayOfNumberOnlyTest.php b/samples/server/petstore/php-slim4/test/Model/ArrayOfArrayOfNumberOnlyTest.php index e424397b18c1..534b18469e1a 100644 --- a/samples/server/petstore/php-slim4/test/Model/ArrayOfArrayOfNumberOnlyTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ArrayOfArrayOfNumberOnlyTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testArrayOfArrayOfNumberOnly() { $testArrayOfArrayOfNumberOnly = new ArrayOfArrayOfNumberOnly(); + $this->markTestIncomplete( + 'Test of "ArrayOfArrayOfNumberOnly" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testArrayOfArrayOfNumberOnly() */ public function testPropertyArrayArrayNumber() { + $this->markTestIncomplete( + 'Test of "arrayArrayNumber" property in "ArrayOfArrayOfNumberOnly" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = ArrayOfArrayOfNumberOnly::getOpenApiSchema(); + $schemaArr = ArrayOfArrayOfNumberOnly::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/ArrayOfNumberOnlyTest.php b/samples/server/petstore/php-slim4/test/Model/ArrayOfNumberOnlyTest.php index dccdad5444f9..d06d979cfe87 100644 --- a/samples/server/petstore/php-slim4/test/Model/ArrayOfNumberOnlyTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ArrayOfNumberOnlyTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testArrayOfNumberOnly() { $testArrayOfNumberOnly = new ArrayOfNumberOnly(); + $this->markTestIncomplete( + 'Test of "ArrayOfNumberOnly" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testArrayOfNumberOnly() */ public function testPropertyArrayNumber() { + $this->markTestIncomplete( + 'Test of "arrayNumber" property in "ArrayOfNumberOnly" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = ArrayOfNumberOnly::getOpenApiSchema(); + $schemaArr = ArrayOfNumberOnly::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/ArrayTestTest.php b/samples/server/petstore/php-slim4/test/Model/ArrayTestTest.php index 1263212659d4..8ee5a228205b 100644 --- a/samples/server/petstore/php-slim4/test/Model/ArrayTestTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ArrayTestTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testArrayTest() { $testArrayTest = new ArrayTest(); + $this->markTestIncomplete( + 'Test of "ArrayTest" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testArrayTest() */ public function testPropertyArrayOfString() { + $this->markTestIncomplete( + 'Test of "arrayOfString" property in "ArrayTest" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyArrayOfString() */ public function testPropertyArrayArrayOfInteger() { + $this->markTestIncomplete( + 'Test of "arrayArrayOfInteger" property in "ArrayTest" model has not been implemented yet.' + ); } /** @@ -95,5 +104,20 @@ public function testPropertyArrayArrayOfInteger() */ public function testPropertyArrayArrayOfModel() { + $this->markTestIncomplete( + 'Test of "arrayArrayOfModel" property in "ArrayTest" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = ArrayTest::getOpenApiSchema(); + $schemaArr = ArrayTest::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/BigCatAllOfTest.php b/samples/server/petstore/php-slim4/test/Model/BigCatAllOfTest.php index 2f3518d5bb8d..daad6d31175f 100644 --- a/samples/server/petstore/php-slim4/test/Model/BigCatAllOfTest.php +++ b/samples/server/petstore/php-slim4/test/Model/BigCatAllOfTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testBigCatAllOf() { $testBigCatAllOf = new BigCatAllOf(); + $this->markTestIncomplete( + 'Test of "BigCatAllOf" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testBigCatAllOf() */ public function testPropertyKind() { + $this->markTestIncomplete( + 'Test of "kind" property in "BigCatAllOf" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = BigCatAllOf::getOpenApiSchema(); + $schemaArr = BigCatAllOf::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/BigCatTest.php b/samples/server/petstore/php-slim4/test/Model/BigCatTest.php index deb94624d7ce..c4775d9d5655 100644 --- a/samples/server/petstore/php-slim4/test/Model/BigCatTest.php +++ b/samples/server/petstore/php-slim4/test/Model/BigCatTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testBigCat() { $testBigCat = new BigCat(); + $this->markTestIncomplete( + 'Test of "BigCat" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testBigCat() */ public function testPropertyClassName() { + $this->markTestIncomplete( + 'Test of "className" property in "BigCat" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyClassName() */ public function testPropertyColor() { + $this->markTestIncomplete( + 'Test of "color" property in "BigCat" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyColor() */ public function testPropertyDeclawed() { + $this->markTestIncomplete( + 'Test of "declawed" property in "BigCat" model has not been implemented yet.' + ); } /** @@ -102,5 +114,20 @@ public function testPropertyDeclawed() */ public function testPropertyKind() { + $this->markTestIncomplete( + 'Test of "kind" property in "BigCat" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = BigCat::getOpenApiSchema(); + $schemaArr = BigCat::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/CapitalizationTest.php b/samples/server/petstore/php-slim4/test/Model/CapitalizationTest.php index 652b41db51fd..9acb2fe1d1ab 100644 --- a/samples/server/petstore/php-slim4/test/Model/CapitalizationTest.php +++ b/samples/server/petstore/php-slim4/test/Model/CapitalizationTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testCapitalization() { $testCapitalization = new Capitalization(); + $this->markTestIncomplete( + 'Test of "Capitalization" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testCapitalization() */ public function testPropertySmallCamel() { + $this->markTestIncomplete( + 'Test of "smallCamel" property in "Capitalization" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertySmallCamel() */ public function testPropertyCapitalCamel() { + $this->markTestIncomplete( + 'Test of "capitalCamel" property in "Capitalization" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyCapitalCamel() */ public function testPropertySmallSnake() { + $this->markTestIncomplete( + 'Test of "smallSnake" property in "Capitalization" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertySmallSnake() */ public function testPropertyCapitalSnake() { + $this->markTestIncomplete( + 'Test of "capitalSnake" property in "Capitalization" model has not been implemented yet.' + ); } /** @@ -109,6 +124,9 @@ public function testPropertyCapitalSnake() */ public function testPropertySCAETHFlowPoints() { + $this->markTestIncomplete( + 'Test of "sCAETHFlowPoints" property in "Capitalization" model has not been implemented yet.' + ); } /** @@ -116,5 +134,20 @@ public function testPropertySCAETHFlowPoints() */ public function testPropertyATTNAME() { + $this->markTestIncomplete( + 'Test of "aTTNAME" property in "Capitalization" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Capitalization::getOpenApiSchema(); + $schemaArr = Capitalization::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/CatAllOfTest.php b/samples/server/petstore/php-slim4/test/Model/CatAllOfTest.php index 2a2d0fcf6a25..ab504fb0677f 100644 --- a/samples/server/petstore/php-slim4/test/Model/CatAllOfTest.php +++ b/samples/server/petstore/php-slim4/test/Model/CatAllOfTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testCatAllOf() { $testCatAllOf = new CatAllOf(); + $this->markTestIncomplete( + 'Test of "CatAllOf" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testCatAllOf() */ public function testPropertyDeclawed() { + $this->markTestIncomplete( + 'Test of "declawed" property in "CatAllOf" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = CatAllOf::getOpenApiSchema(); + $schemaArr = CatAllOf::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/CatTest.php b/samples/server/petstore/php-slim4/test/Model/CatTest.php index 4c531265db9d..50b27fcc60c3 100644 --- a/samples/server/petstore/php-slim4/test/Model/CatTest.php +++ b/samples/server/petstore/php-slim4/test/Model/CatTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testCat() { $testCat = new Cat(); + $this->markTestIncomplete( + 'Test of "Cat" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testCat() */ public function testPropertyClassName() { + $this->markTestIncomplete( + 'Test of "className" property in "Cat" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyClassName() */ public function testPropertyColor() { + $this->markTestIncomplete( + 'Test of "color" property in "Cat" model has not been implemented yet.' + ); } /** @@ -95,5 +104,20 @@ public function testPropertyColor() */ public function testPropertyDeclawed() { + $this->markTestIncomplete( + 'Test of "declawed" property in "Cat" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Cat::getOpenApiSchema(); + $schemaArr = Cat::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/CategoryTest.php b/samples/server/petstore/php-slim4/test/Model/CategoryTest.php index 602fdb5afbb6..f95f233d3c59 100644 --- a/samples/server/petstore/php-slim4/test/Model/CategoryTest.php +++ b/samples/server/petstore/php-slim4/test/Model/CategoryTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testCategory() { $testCategory = new Category(); + $this->markTestIncomplete( + 'Test of "Category" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testCategory() */ public function testPropertyId() { + $this->markTestIncomplete( + 'Test of "id" property in "Category" model has not been implemented yet.' + ); } /** @@ -88,5 +94,20 @@ public function testPropertyId() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "Category" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Category::getOpenApiSchema(); + $schemaArr = Category::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/ClassModelTest.php b/samples/server/petstore/php-slim4/test/Model/ClassModelTest.php index fe858ad7af1a..47b5b0bcf1b8 100644 --- a/samples/server/petstore/php-slim4/test/Model/ClassModelTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ClassModelTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testClassModel() { $testClassModel = new ClassModel(); + $this->markTestIncomplete( + 'Test of "ClassModel" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testClassModel() */ public function testPropertyClass() { + $this->markTestIncomplete( + 'Test of "class" property in "ClassModel" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = ClassModel::getOpenApiSchema(); + $schemaArr = ClassModel::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/ClientTest.php b/samples/server/petstore/php-slim4/test/Model/ClientTest.php index 0be5f2380fc8..177d14a2ad37 100644 --- a/samples/server/petstore/php-slim4/test/Model/ClientTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ClientTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testClient() { $testClient = new Client(); + $this->markTestIncomplete( + 'Test of "Client" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testClient() */ public function testPropertyClient() { + $this->markTestIncomplete( + 'Test of "client" property in "Client" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Client::getOpenApiSchema(); + $schemaArr = Client::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/DogAllOfTest.php b/samples/server/petstore/php-slim4/test/Model/DogAllOfTest.php index eea0ac0c9ae7..70c217a41a9c 100644 --- a/samples/server/petstore/php-slim4/test/Model/DogAllOfTest.php +++ b/samples/server/petstore/php-slim4/test/Model/DogAllOfTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testDogAllOf() { $testDogAllOf = new DogAllOf(); + $this->markTestIncomplete( + 'Test of "DogAllOf" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testDogAllOf() */ public function testPropertyBreed() { + $this->markTestIncomplete( + 'Test of "breed" property in "DogAllOf" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = DogAllOf::getOpenApiSchema(); + $schemaArr = DogAllOf::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/DogTest.php b/samples/server/petstore/php-slim4/test/Model/DogTest.php index 5067a3e1b222..c59a75521c05 100644 --- a/samples/server/petstore/php-slim4/test/Model/DogTest.php +++ b/samples/server/petstore/php-slim4/test/Model/DogTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testDog() { $testDog = new Dog(); + $this->markTestIncomplete( + 'Test of "Dog" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testDog() */ public function testPropertyClassName() { + $this->markTestIncomplete( + 'Test of "className" property in "Dog" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyClassName() */ public function testPropertyColor() { + $this->markTestIncomplete( + 'Test of "color" property in "Dog" model has not been implemented yet.' + ); } /** @@ -95,5 +104,20 @@ public function testPropertyColor() */ public function testPropertyBreed() { + $this->markTestIncomplete( + 'Test of "breed" property in "Dog" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Dog::getOpenApiSchema(); + $schemaArr = Dog::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/EnumArraysTest.php b/samples/server/petstore/php-slim4/test/Model/EnumArraysTest.php index 0d3812b14420..0259445d28d5 100644 --- a/samples/server/petstore/php-slim4/test/Model/EnumArraysTest.php +++ b/samples/server/petstore/php-slim4/test/Model/EnumArraysTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testEnumArrays() { $testEnumArrays = new EnumArrays(); + $this->markTestIncomplete( + 'Test of "EnumArrays" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testEnumArrays() */ public function testPropertyJustSymbol() { + $this->markTestIncomplete( + 'Test of "justSymbol" property in "EnumArrays" model has not been implemented yet.' + ); } /** @@ -88,5 +94,20 @@ public function testPropertyJustSymbol() */ public function testPropertyArrayEnum() { + $this->markTestIncomplete( + 'Test of "arrayEnum" property in "EnumArrays" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = EnumArrays::getOpenApiSchema(); + $schemaArr = EnumArrays::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/EnumClassTest.php b/samples/server/petstore/php-slim4/test/Model/EnumClassTest.php index 1c50796ed4e1..20dd3d274ba9 100644 --- a/samples/server/petstore/php-slim4/test/Model/EnumClassTest.php +++ b/samples/server/petstore/php-slim4/test/Model/EnumClassTest.php @@ -74,5 +74,20 @@ public static function tearDownAfterClass() public function testEnumClass() { $testEnumClass = new EnumClass(); + $this->markTestIncomplete( + 'Test of "EnumClass" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = EnumClass::getOpenApiSchema(); + $schemaArr = EnumClass::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/EnumTestTest.php b/samples/server/petstore/php-slim4/test/Model/EnumTestTest.php index d2a8c7aaa903..6f6adeba2631 100644 --- a/samples/server/petstore/php-slim4/test/Model/EnumTestTest.php +++ b/samples/server/petstore/php-slim4/test/Model/EnumTestTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testEnumTest() { $testEnumTest = new EnumTest(); + $this->markTestIncomplete( + 'Test of "EnumTest" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testEnumTest() */ public function testPropertyEnumString() { + $this->markTestIncomplete( + 'Test of "enumString" property in "EnumTest" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyEnumString() */ public function testPropertyEnumStringRequired() { + $this->markTestIncomplete( + 'Test of "enumStringRequired" property in "EnumTest" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyEnumStringRequired() */ public function testPropertyEnumInteger() { + $this->markTestIncomplete( + 'Test of "enumInteger" property in "EnumTest" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertyEnumInteger() */ public function testPropertyEnumNumber() { + $this->markTestIncomplete( + 'Test of "enumNumber" property in "EnumTest" model has not been implemented yet.' + ); } /** @@ -109,5 +124,20 @@ public function testPropertyEnumNumber() */ public function testPropertyOuterEnum() { + $this->markTestIncomplete( + 'Test of "outerEnum" property in "EnumTest" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = EnumTest::getOpenApiSchema(); + $schemaArr = EnumTest::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/FileSchemaTestClassTest.php b/samples/server/petstore/php-slim4/test/Model/FileSchemaTestClassTest.php index 96ddcfb86a00..abdda8087e28 100644 --- a/samples/server/petstore/php-slim4/test/Model/FileSchemaTestClassTest.php +++ b/samples/server/petstore/php-slim4/test/Model/FileSchemaTestClassTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testFileSchemaTestClass() { $testFileSchemaTestClass = new FileSchemaTestClass(); + $this->markTestIncomplete( + 'Test of "FileSchemaTestClass" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testFileSchemaTestClass() */ public function testPropertyFile() { + $this->markTestIncomplete( + 'Test of "file" property in "FileSchemaTestClass" model has not been implemented yet.' + ); } /** @@ -88,5 +94,20 @@ public function testPropertyFile() */ public function testPropertyFiles() { + $this->markTestIncomplete( + 'Test of "files" property in "FileSchemaTestClass" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = FileSchemaTestClass::getOpenApiSchema(); + $schemaArr = FileSchemaTestClass::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/FileTest.php b/samples/server/petstore/php-slim4/test/Model/FileTest.php index 1da3c8b9bd4a..941465c80cc8 100644 --- a/samples/server/petstore/php-slim4/test/Model/FileTest.php +++ b/samples/server/petstore/php-slim4/test/Model/FileTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testFile() { $testFile = new File(); + $this->markTestIncomplete( + 'Test of "File" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testFile() */ public function testPropertySourceURI() { + $this->markTestIncomplete( + 'Test of "sourceURI" property in "File" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = File::getOpenApiSchema(); + $schemaArr = File::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/FormatTestTest.php b/samples/server/petstore/php-slim4/test/Model/FormatTestTest.php index da887b233c02..1fe35f995bfb 100644 --- a/samples/server/petstore/php-slim4/test/Model/FormatTestTest.php +++ b/samples/server/petstore/php-slim4/test/Model/FormatTestTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testFormatTest() { $testFormatTest = new FormatTest(); + $this->markTestIncomplete( + 'Test of "FormatTest" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testFormatTest() */ public function testPropertyInteger() { + $this->markTestIncomplete( + 'Test of "integer" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyInteger() */ public function testPropertyInt32() { + $this->markTestIncomplete( + 'Test of "int32" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyInt32() */ public function testPropertyInt64() { + $this->markTestIncomplete( + 'Test of "int64" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertyInt64() */ public function testPropertyNumber() { + $this->markTestIncomplete( + 'Test of "number" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -109,6 +124,9 @@ public function testPropertyNumber() */ public function testPropertyFloat() { + $this->markTestIncomplete( + 'Test of "float" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -116,6 +134,9 @@ public function testPropertyFloat() */ public function testPropertyDouble() { + $this->markTestIncomplete( + 'Test of "double" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -123,6 +144,9 @@ public function testPropertyDouble() */ public function testPropertyString() { + $this->markTestIncomplete( + 'Test of "string" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -130,6 +154,9 @@ public function testPropertyString() */ public function testPropertyByte() { + $this->markTestIncomplete( + 'Test of "byte" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -137,6 +164,9 @@ public function testPropertyByte() */ public function testPropertyBinary() { + $this->markTestIncomplete( + 'Test of "binary" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -144,6 +174,9 @@ public function testPropertyBinary() */ public function testPropertyDate() { + $this->markTestIncomplete( + 'Test of "date" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -151,6 +184,9 @@ public function testPropertyDate() */ public function testPropertyDateTime() { + $this->markTestIncomplete( + 'Test of "dateTime" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -158,6 +194,9 @@ public function testPropertyDateTime() */ public function testPropertyUuid() { + $this->markTestIncomplete( + 'Test of "uuid" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -165,6 +204,9 @@ public function testPropertyUuid() */ public function testPropertyPassword() { + $this->markTestIncomplete( + 'Test of "password" property in "FormatTest" model has not been implemented yet.' + ); } /** @@ -172,5 +214,20 @@ public function testPropertyPassword() */ public function testPropertyBigDecimal() { + $this->markTestIncomplete( + 'Test of "bigDecimal" property in "FormatTest" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = FormatTest::getOpenApiSchema(); + $schemaArr = FormatTest::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/HasOnlyReadOnlyTest.php b/samples/server/petstore/php-slim4/test/Model/HasOnlyReadOnlyTest.php index 37411694ad38..2f7b48320086 100644 --- a/samples/server/petstore/php-slim4/test/Model/HasOnlyReadOnlyTest.php +++ b/samples/server/petstore/php-slim4/test/Model/HasOnlyReadOnlyTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testHasOnlyReadOnly() { $testHasOnlyReadOnly = new HasOnlyReadOnly(); + $this->markTestIncomplete( + 'Test of "HasOnlyReadOnly" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testHasOnlyReadOnly() */ public function testPropertyBar() { + $this->markTestIncomplete( + 'Test of "bar" property in "HasOnlyReadOnly" model has not been implemented yet.' + ); } /** @@ -88,5 +94,20 @@ public function testPropertyBar() */ public function testPropertyFoo() { + $this->markTestIncomplete( + 'Test of "foo" property in "HasOnlyReadOnly" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = HasOnlyReadOnly::getOpenApiSchema(); + $schemaArr = HasOnlyReadOnly::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/InlineObject1Test.php b/samples/server/petstore/php-slim4/test/Model/InlineObject1Test.php deleted file mode 100644 index 9f47cf77f6a5..000000000000 --- a/samples/server/petstore/php-slim4/test/Model/InlineObject1Test.php +++ /dev/null @@ -1,104 +0,0 @@ -assertIsObject($schemaObject); - $this->assertIsArray($schemaArr); - } -} diff --git a/samples/server/petstore/php-slim4/test/Model/InlineObjectTest.php b/samples/server/petstore/php-slim4/test/Model/InlineObjectTest.php deleted file mode 100644 index 46716da936d3..000000000000 --- a/samples/server/petstore/php-slim4/test/Model/InlineObjectTest.php +++ /dev/null @@ -1,104 +0,0 @@ -assertIsObject($schemaObject); - $this->assertIsArray($schemaArr); - } -} diff --git a/samples/server/petstore/php-slim4/test/Model/MapTestTest.php b/samples/server/petstore/php-slim4/test/Model/MapTestTest.php index a4a24e7e3049..605137aec546 100644 --- a/samples/server/petstore/php-slim4/test/Model/MapTestTest.php +++ b/samples/server/petstore/php-slim4/test/Model/MapTestTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testMapTest() { $testMapTest = new MapTest(); + $this->markTestIncomplete( + 'Test of "MapTest" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testMapTest() */ public function testPropertyMapMapOfString() { + $this->markTestIncomplete( + 'Test of "mapMapOfString" property in "MapTest" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyMapMapOfString() */ public function testPropertyMapOfEnumString() { + $this->markTestIncomplete( + 'Test of "mapOfEnumString" property in "MapTest" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyMapOfEnumString() */ public function testPropertyDirectMap() { + $this->markTestIncomplete( + 'Test of "directMap" property in "MapTest" model has not been implemented yet.' + ); } /** @@ -102,5 +114,20 @@ public function testPropertyDirectMap() */ public function testPropertyIndirectMap() { + $this->markTestIncomplete( + 'Test of "indirectMap" property in "MapTest" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = MapTest::getOpenApiSchema(); + $schemaArr = MapTest::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php b/samples/server/petstore/php-slim4/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php index b8c7c708f438..38c9f55cf4ba 100644 --- a/samples/server/petstore/php-slim4/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php +++ b/samples/server/petstore/php-slim4/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testMixedPropertiesAndAdditionalPropertiesClass() { $testMixedPropertiesAndAdditionalPropertiesClass = new MixedPropertiesAndAdditionalPropertiesClass(); + $this->markTestIncomplete( + 'Test of "MixedPropertiesAndAdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testMixedPropertiesAndAdditionalPropertiesClass() */ public function testPropertyUuid() { + $this->markTestIncomplete( + 'Test of "uuid" property in "MixedPropertiesAndAdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyUuid() */ public function testPropertyDateTime() { + $this->markTestIncomplete( + 'Test of "dateTime" property in "MixedPropertiesAndAdditionalPropertiesClass" model has not been implemented yet.' + ); } /** @@ -95,5 +104,20 @@ public function testPropertyDateTime() */ public function testPropertyMap() { + $this->markTestIncomplete( + 'Test of "map" property in "MixedPropertiesAndAdditionalPropertiesClass" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = MixedPropertiesAndAdditionalPropertiesClass::getOpenApiSchema(); + $schemaArr = MixedPropertiesAndAdditionalPropertiesClass::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/Model200ResponseTest.php b/samples/server/petstore/php-slim4/test/Model/Model200ResponseTest.php index 9bc5a705dbb8..18c1f34bd62d 100644 --- a/samples/server/petstore/php-slim4/test/Model/Model200ResponseTest.php +++ b/samples/server/petstore/php-slim4/test/Model/Model200ResponseTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testModel200Response() { $testModel200Response = new Model200Response(); + $this->markTestIncomplete( + 'Test of "Model200Response" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testModel200Response() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "Model200Response" model has not been implemented yet.' + ); } /** @@ -88,5 +94,20 @@ public function testPropertyName() */ public function testPropertyClass() { + $this->markTestIncomplete( + 'Test of "class" property in "Model200Response" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Model200Response::getOpenApiSchema(); + $schemaArr = Model200Response::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/ModelListTest.php b/samples/server/petstore/php-slim4/test/Model/ModelListTest.php index 439851bf0772..c6a6bdafcecc 100644 --- a/samples/server/petstore/php-slim4/test/Model/ModelListTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ModelListTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testModelList() { $testModelList = new ModelList(); + $this->markTestIncomplete( + 'Test of "ModelList" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testModelList() */ public function testProperty123list() { + $this->markTestIncomplete( + 'Test of "_123list" property in "ModelList" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = ModelList::getOpenApiSchema(); + $schemaArr = ModelList::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/ModelReturnTest.php b/samples/server/petstore/php-slim4/test/Model/ModelReturnTest.php index aa796490c658..84790d12726b 100644 --- a/samples/server/petstore/php-slim4/test/Model/ModelReturnTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ModelReturnTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testModelReturn() { $testModelReturn = new ModelReturn(); + $this->markTestIncomplete( + 'Test of "ModelReturn" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testModelReturn() */ public function testPropertyReturn() { + $this->markTestIncomplete( + 'Test of "return" property in "ModelReturn" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = ModelReturn::getOpenApiSchema(); + $schemaArr = ModelReturn::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/NameTest.php b/samples/server/petstore/php-slim4/test/Model/NameTest.php index d44c5becbe09..554eeacecc54 100644 --- a/samples/server/petstore/php-slim4/test/Model/NameTest.php +++ b/samples/server/petstore/php-slim4/test/Model/NameTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testName() { $testName = new Name(); + $this->markTestIncomplete( + 'Test of "Name" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testName() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "Name" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyName() */ public function testPropertySnakeCase() { + $this->markTestIncomplete( + 'Test of "snakeCase" property in "Name" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertySnakeCase() */ public function testPropertyProperty() { + $this->markTestIncomplete( + 'Test of "property" property in "Name" model has not been implemented yet.' + ); } /** @@ -102,5 +114,20 @@ public function testPropertyProperty() */ public function testProperty123number() { + $this->markTestIncomplete( + 'Test of "_123number" property in "Name" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Name::getOpenApiSchema(); + $schemaArr = Name::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/NumberOnlyTest.php b/samples/server/petstore/php-slim4/test/Model/NumberOnlyTest.php index d80c55ea3d6d..3314f7a9b9ea 100644 --- a/samples/server/petstore/php-slim4/test/Model/NumberOnlyTest.php +++ b/samples/server/petstore/php-slim4/test/Model/NumberOnlyTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testNumberOnly() { $testNumberOnly = new NumberOnly(); + $this->markTestIncomplete( + 'Test of "NumberOnly" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testNumberOnly() */ public function testPropertyJustNumber() { + $this->markTestIncomplete( + 'Test of "justNumber" property in "NumberOnly" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = NumberOnly::getOpenApiSchema(); + $schemaArr = NumberOnly::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/OrderTest.php b/samples/server/petstore/php-slim4/test/Model/OrderTest.php index d0f96df04e02..87d7483b2f15 100644 --- a/samples/server/petstore/php-slim4/test/Model/OrderTest.php +++ b/samples/server/petstore/php-slim4/test/Model/OrderTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testOrder() { $testOrder = new Order(); + $this->markTestIncomplete( + 'Test of "Order" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testOrder() */ public function testPropertyId() { + $this->markTestIncomplete( + 'Test of "id" property in "Order" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyId() */ public function testPropertyPetId() { + $this->markTestIncomplete( + 'Test of "petId" property in "Order" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyPetId() */ public function testPropertyQuantity() { + $this->markTestIncomplete( + 'Test of "quantity" property in "Order" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertyQuantity() */ public function testPropertyShipDate() { + $this->markTestIncomplete( + 'Test of "shipDate" property in "Order" model has not been implemented yet.' + ); } /** @@ -109,6 +124,9 @@ public function testPropertyShipDate() */ public function testPropertyStatus() { + $this->markTestIncomplete( + 'Test of "status" property in "Order" model has not been implemented yet.' + ); } /** @@ -116,5 +134,20 @@ public function testPropertyStatus() */ public function testPropertyComplete() { + $this->markTestIncomplete( + 'Test of "complete" property in "Order" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Order::getOpenApiSchema(); + $schemaArr = Order::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/OuterCompositeTest.php b/samples/server/petstore/php-slim4/test/Model/OuterCompositeTest.php index a469e77f62ff..96db8ffbce28 100644 --- a/samples/server/petstore/php-slim4/test/Model/OuterCompositeTest.php +++ b/samples/server/petstore/php-slim4/test/Model/OuterCompositeTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testOuterComposite() { $testOuterComposite = new OuterComposite(); + $this->markTestIncomplete( + 'Test of "OuterComposite" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testOuterComposite() */ public function testPropertyMyNumber() { + $this->markTestIncomplete( + 'Test of "myNumber" property in "OuterComposite" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyMyNumber() */ public function testPropertyMyString() { + $this->markTestIncomplete( + 'Test of "myString" property in "OuterComposite" model has not been implemented yet.' + ); } /** @@ -95,5 +104,20 @@ public function testPropertyMyString() */ public function testPropertyMyBoolean() { + $this->markTestIncomplete( + 'Test of "myBoolean" property in "OuterComposite" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = OuterComposite::getOpenApiSchema(); + $schemaArr = OuterComposite::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/OuterEnumTest.php b/samples/server/petstore/php-slim4/test/Model/OuterEnumTest.php index 910b80be4a46..828a7bb65b41 100644 --- a/samples/server/petstore/php-slim4/test/Model/OuterEnumTest.php +++ b/samples/server/petstore/php-slim4/test/Model/OuterEnumTest.php @@ -74,5 +74,20 @@ public static function tearDownAfterClass() public function testOuterEnum() { $testOuterEnum = new OuterEnum(); + $this->markTestIncomplete( + 'Test of "OuterEnum" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = OuterEnum::getOpenApiSchema(); + $schemaArr = OuterEnum::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/PetTest.php b/samples/server/petstore/php-slim4/test/Model/PetTest.php index 2fb306477417..76d5eb5ad400 100644 --- a/samples/server/petstore/php-slim4/test/Model/PetTest.php +++ b/samples/server/petstore/php-slim4/test/Model/PetTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testPet() { $testPet = new Pet(); + $this->markTestIncomplete( + 'Test of "Pet" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testPet() */ public function testPropertyId() { + $this->markTestIncomplete( + 'Test of "id" property in "Pet" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyId() */ public function testPropertyCategory() { + $this->markTestIncomplete( + 'Test of "category" property in "Pet" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyCategory() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "Pet" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertyName() */ public function testPropertyPhotoUrls() { + $this->markTestIncomplete( + 'Test of "photoUrls" property in "Pet" model has not been implemented yet.' + ); } /** @@ -109,6 +124,9 @@ public function testPropertyPhotoUrls() */ public function testPropertyTags() { + $this->markTestIncomplete( + 'Test of "tags" property in "Pet" model has not been implemented yet.' + ); } /** @@ -116,5 +134,20 @@ public function testPropertyTags() */ public function testPropertyStatus() { + $this->markTestIncomplete( + 'Test of "status" property in "Pet" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Pet::getOpenApiSchema(); + $schemaArr = Pet::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/ReadOnlyFirstTest.php b/samples/server/petstore/php-slim4/test/Model/ReadOnlyFirstTest.php index 38d83681800f..0b44bf882ef4 100644 --- a/samples/server/petstore/php-slim4/test/Model/ReadOnlyFirstTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ReadOnlyFirstTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testReadOnlyFirst() { $testReadOnlyFirst = new ReadOnlyFirst(); + $this->markTestIncomplete( + 'Test of "ReadOnlyFirst" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testReadOnlyFirst() */ public function testPropertyBar() { + $this->markTestIncomplete( + 'Test of "bar" property in "ReadOnlyFirst" model has not been implemented yet.' + ); } /** @@ -88,5 +94,20 @@ public function testPropertyBar() */ public function testPropertyBaz() { + $this->markTestIncomplete( + 'Test of "baz" property in "ReadOnlyFirst" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = ReadOnlyFirst::getOpenApiSchema(); + $schemaArr = ReadOnlyFirst::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/SpecialModelNameTest.php b/samples/server/petstore/php-slim4/test/Model/SpecialModelNameTest.php index 5285980c73bf..54569af8ae9e 100644 --- a/samples/server/petstore/php-slim4/test/Model/SpecialModelNameTest.php +++ b/samples/server/petstore/php-slim4/test/Model/SpecialModelNameTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testSpecialModelName() { $testSpecialModelName = new SpecialModelName(); + $this->markTestIncomplete( + 'Test of "SpecialModelName" model has not been implemented yet.' + ); } /** @@ -81,5 +84,20 @@ public function testSpecialModelName() */ public function testPropertySpecialPropertyName() { + $this->markTestIncomplete( + 'Test of "specialPropertyName" property in "SpecialModelName" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = SpecialModelName::getOpenApiSchema(); + $schemaArr = SpecialModelName::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/TagTest.php b/samples/server/petstore/php-slim4/test/Model/TagTest.php index 1c42050bfe7d..59071a96c7e4 100644 --- a/samples/server/petstore/php-slim4/test/Model/TagTest.php +++ b/samples/server/petstore/php-slim4/test/Model/TagTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testTag() { $testTag = new Tag(); + $this->markTestIncomplete( + 'Test of "Tag" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testTag() */ public function testPropertyId() { + $this->markTestIncomplete( + 'Test of "id" property in "Tag" model has not been implemented yet.' + ); } /** @@ -88,5 +94,20 @@ public function testPropertyId() */ public function testPropertyName() { + $this->markTestIncomplete( + 'Test of "name" property in "Tag" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = Tag::getOpenApiSchema(); + $schemaArr = Tag::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/TypeHolderDefaultTest.php b/samples/server/petstore/php-slim4/test/Model/TypeHolderDefaultTest.php index 6ec77136c466..b0fba6bf51f9 100644 --- a/samples/server/petstore/php-slim4/test/Model/TypeHolderDefaultTest.php +++ b/samples/server/petstore/php-slim4/test/Model/TypeHolderDefaultTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testTypeHolderDefault() { $testTypeHolderDefault = new TypeHolderDefault(); + $this->markTestIncomplete( + 'Test of "TypeHolderDefault" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testTypeHolderDefault() */ public function testPropertyStringItem() { + $this->markTestIncomplete( + 'Test of "stringItem" property in "TypeHolderDefault" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyStringItem() */ public function testPropertyNumberItem() { + $this->markTestIncomplete( + 'Test of "numberItem" property in "TypeHolderDefault" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyNumberItem() */ public function testPropertyIntegerItem() { + $this->markTestIncomplete( + 'Test of "integerItem" property in "TypeHolderDefault" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertyIntegerItem() */ public function testPropertyBoolItem() { + $this->markTestIncomplete( + 'Test of "boolItem" property in "TypeHolderDefault" model has not been implemented yet.' + ); } /** @@ -109,5 +124,20 @@ public function testPropertyBoolItem() */ public function testPropertyArrayItem() { + $this->markTestIncomplete( + 'Test of "arrayItem" property in "TypeHolderDefault" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = TypeHolderDefault::getOpenApiSchema(); + $schemaArr = TypeHolderDefault::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/TypeHolderExampleTest.php b/samples/server/petstore/php-slim4/test/Model/TypeHolderExampleTest.php index 32cb11fef9cd..3f707beb5ac9 100644 --- a/samples/server/petstore/php-slim4/test/Model/TypeHolderExampleTest.php +++ b/samples/server/petstore/php-slim4/test/Model/TypeHolderExampleTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testTypeHolderExample() { $testTypeHolderExample = new TypeHolderExample(); + $this->markTestIncomplete( + 'Test of "TypeHolderExample" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testTypeHolderExample() */ public function testPropertyStringItem() { + $this->markTestIncomplete( + 'Test of "stringItem" property in "TypeHolderExample" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyStringItem() */ public function testPropertyNumberItem() { + $this->markTestIncomplete( + 'Test of "numberItem" property in "TypeHolderExample" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyNumberItem() */ public function testPropertyFloatItem() { + $this->markTestIncomplete( + 'Test of "floatItem" property in "TypeHolderExample" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertyFloatItem() */ public function testPropertyIntegerItem() { + $this->markTestIncomplete( + 'Test of "integerItem" property in "TypeHolderExample" model has not been implemented yet.' + ); } /** @@ -109,6 +124,9 @@ public function testPropertyIntegerItem() */ public function testPropertyBoolItem() { + $this->markTestIncomplete( + 'Test of "boolItem" property in "TypeHolderExample" model has not been implemented yet.' + ); } /** @@ -116,5 +134,20 @@ public function testPropertyBoolItem() */ public function testPropertyArrayItem() { + $this->markTestIncomplete( + 'Test of "arrayItem" property in "TypeHolderExample" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = TypeHolderExample::getOpenApiSchema(); + $schemaArr = TypeHolderExample::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/UserTest.php b/samples/server/petstore/php-slim4/test/Model/UserTest.php index 6523a90526c2..900029a36e66 100644 --- a/samples/server/petstore/php-slim4/test/Model/UserTest.php +++ b/samples/server/petstore/php-slim4/test/Model/UserTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testUser() { $testUser = new User(); + $this->markTestIncomplete( + 'Test of "User" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testUser() */ public function testPropertyId() { + $this->markTestIncomplete( + 'Test of "id" property in "User" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyId() */ public function testPropertyUsername() { + $this->markTestIncomplete( + 'Test of "username" property in "User" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyUsername() */ public function testPropertyFirstName() { + $this->markTestIncomplete( + 'Test of "firstName" property in "User" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertyFirstName() */ public function testPropertyLastName() { + $this->markTestIncomplete( + 'Test of "lastName" property in "User" model has not been implemented yet.' + ); } /** @@ -109,6 +124,9 @@ public function testPropertyLastName() */ public function testPropertyEmail() { + $this->markTestIncomplete( + 'Test of "email" property in "User" model has not been implemented yet.' + ); } /** @@ -116,6 +134,9 @@ public function testPropertyEmail() */ public function testPropertyPassword() { + $this->markTestIncomplete( + 'Test of "password" property in "User" model has not been implemented yet.' + ); } /** @@ -123,6 +144,9 @@ public function testPropertyPassword() */ public function testPropertyPhone() { + $this->markTestIncomplete( + 'Test of "phone" property in "User" model has not been implemented yet.' + ); } /** @@ -130,5 +154,20 @@ public function testPropertyPhone() */ public function testPropertyUserStatus() { + $this->markTestIncomplete( + 'Test of "userStatus" property in "User" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = User::getOpenApiSchema(); + $schemaArr = User::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } } diff --git a/samples/server/petstore/php-slim4/test/Model/XmlItemTest.php b/samples/server/petstore/php-slim4/test/Model/XmlItemTest.php index 843ea8a80c8b..ac6ee0e7d389 100644 --- a/samples/server/petstore/php-slim4/test/Model/XmlItemTest.php +++ b/samples/server/petstore/php-slim4/test/Model/XmlItemTest.php @@ -74,6 +74,9 @@ public static function tearDownAfterClass() public function testXmlItem() { $testXmlItem = new XmlItem(); + $this->markTestIncomplete( + 'Test of "XmlItem" model has not been implemented yet.' + ); } /** @@ -81,6 +84,9 @@ public function testXmlItem() */ public function testPropertyAttributeString() { + $this->markTestIncomplete( + 'Test of "attributeString" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -88,6 +94,9 @@ public function testPropertyAttributeString() */ public function testPropertyAttributeNumber() { + $this->markTestIncomplete( + 'Test of "attributeNumber" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -95,6 +104,9 @@ public function testPropertyAttributeNumber() */ public function testPropertyAttributeInteger() { + $this->markTestIncomplete( + 'Test of "attributeInteger" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -102,6 +114,9 @@ public function testPropertyAttributeInteger() */ public function testPropertyAttributeBoolean() { + $this->markTestIncomplete( + 'Test of "attributeBoolean" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -109,6 +124,9 @@ public function testPropertyAttributeBoolean() */ public function testPropertyWrappedArray() { + $this->markTestIncomplete( + 'Test of "wrappedArray" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -116,6 +134,9 @@ public function testPropertyWrappedArray() */ public function testPropertyNameString() { + $this->markTestIncomplete( + 'Test of "nameString" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -123,6 +144,9 @@ public function testPropertyNameString() */ public function testPropertyNameNumber() { + $this->markTestIncomplete( + 'Test of "nameNumber" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -130,6 +154,9 @@ public function testPropertyNameNumber() */ public function testPropertyNameInteger() { + $this->markTestIncomplete( + 'Test of "nameInteger" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -137,6 +164,9 @@ public function testPropertyNameInteger() */ public function testPropertyNameBoolean() { + $this->markTestIncomplete( + 'Test of "nameBoolean" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -144,6 +174,9 @@ public function testPropertyNameBoolean() */ public function testPropertyNameArray() { + $this->markTestIncomplete( + 'Test of "nameArray" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -151,6 +184,9 @@ public function testPropertyNameArray() */ public function testPropertyNameWrappedArray() { + $this->markTestIncomplete( + 'Test of "nameWrappedArray" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -158,6 +194,9 @@ public function testPropertyNameWrappedArray() */ public function testPropertyPrefixString() { + $this->markTestIncomplete( + 'Test of "prefixString" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -165,6 +204,9 @@ public function testPropertyPrefixString() */ public function testPropertyPrefixNumber() { + $this->markTestIncomplete( + 'Test of "prefixNumber" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -172,6 +214,9 @@ public function testPropertyPrefixNumber() */ public function testPropertyPrefixInteger() { + $this->markTestIncomplete( + 'Test of "prefixInteger" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -179,6 +224,9 @@ public function testPropertyPrefixInteger() */ public function testPropertyPrefixBoolean() { + $this->markTestIncomplete( + 'Test of "prefixBoolean" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -186,6 +234,9 @@ public function testPropertyPrefixBoolean() */ public function testPropertyPrefixArray() { + $this->markTestIncomplete( + 'Test of "prefixArray" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -193,6 +244,9 @@ public function testPropertyPrefixArray() */ public function testPropertyPrefixWrappedArray() { + $this->markTestIncomplete( + 'Test of "prefixWrappedArray" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -200,6 +254,9 @@ public function testPropertyPrefixWrappedArray() */ public function testPropertyNamespaceString() { + $this->markTestIncomplete( + 'Test of "namespaceString" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -207,6 +264,9 @@ public function testPropertyNamespaceString() */ public function testPropertyNamespaceNumber() { + $this->markTestIncomplete( + 'Test of "namespaceNumber" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -214,6 +274,9 @@ public function testPropertyNamespaceNumber() */ public function testPropertyNamespaceInteger() { + $this->markTestIncomplete( + 'Test of "namespaceInteger" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -221,6 +284,9 @@ public function testPropertyNamespaceInteger() */ public function testPropertyNamespaceBoolean() { + $this->markTestIncomplete( + 'Test of "namespaceBoolean" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -228,6 +294,9 @@ public function testPropertyNamespaceBoolean() */ public function testPropertyNamespaceArray() { + $this->markTestIncomplete( + 'Test of "namespaceArray" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -235,6 +304,9 @@ public function testPropertyNamespaceArray() */ public function testPropertyNamespaceWrappedArray() { + $this->markTestIncomplete( + 'Test of "namespaceWrappedArray" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -242,6 +314,9 @@ public function testPropertyNamespaceWrappedArray() */ public function testPropertyPrefixNsString() { + $this->markTestIncomplete( + 'Test of "prefixNsString" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -249,6 +324,9 @@ public function testPropertyPrefixNsString() */ public function testPropertyPrefixNsNumber() { + $this->markTestIncomplete( + 'Test of "prefixNsNumber" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -256,6 +334,9 @@ public function testPropertyPrefixNsNumber() */ public function testPropertyPrefixNsInteger() { + $this->markTestIncomplete( + 'Test of "prefixNsInteger" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -263,6 +344,9 @@ public function testPropertyPrefixNsInteger() */ public function testPropertyPrefixNsBoolean() { + $this->markTestIncomplete( + 'Test of "prefixNsBoolean" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -270,6 +354,9 @@ public function testPropertyPrefixNsBoolean() */ public function testPropertyPrefixNsArray() { + $this->markTestIncomplete( + 'Test of "prefixNsArray" property in "XmlItem" model has not been implemented yet.' + ); } /** @@ -277,5 +364,20 @@ public function testPropertyPrefixNsArray() */ public function testPropertyPrefixNsWrappedArray() { + $this->markTestIncomplete( + 'Test of "prefixNsWrappedArray" property in "XmlItem" model has not been implemented yet.' + ); + } + + /** + * Test getOpenApiSchema static method + * @covers ::getOpenApiSchema + */ + public function testGetOpenApiSchema() + { + $schemaObject = XmlItem::getOpenApiSchema(); + $schemaArr = XmlItem::getOpenApiSchema(true); + $this->assertIsObject($schemaObject); + $this->assertIsArray($schemaArr); } }