forked from loafle/openapi-generator-original
19 lines
362 B
PHP
19 lines
362 B
PHP
<?php
|
|
|
|
namespace OpenAPI\Client;
|
|
|
|
use OpenAPI\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");
|
|
}
|
|
}
|