forked from loafle/openapi-generator-original
* Rename default packages for php client * Generate php client (OAS3) * Rename namespace for tests * Delete unnecessary 'use' * Rename method/variable * Update php client (OAS3) * Generate php client (OAS2) * Rename namespace for tests * Delete unused files * Fix tests
19 lines
372 B
PHP
19 lines
372 B
PHP
<?php
|
|
|
|
namespace OpenAPITools\Client;
|
|
|
|
use OpenAPITools\Client\Model\Pet;
|
|
|
|
class PetTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* test empty object serialization
|
|
*/
|
|
public function testEmptyPetSerialization()
|
|
{
|
|
$new_pet = new Pet;
|
|
// the empty object should be serialised to {}
|
|
$this->assertSame("{}", "$new_pet");
|
|
}
|
|
}
|