[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.133.153.110: ~ $
<?php

namespace JMS\Serializer\Tests\Metadata\Driver;

use JMS\Serializer\Metadata\ClassMetadata;
use JMS\Serializer\Metadata\Driver\NullDriver;

class NullDriverTest extends \PHPUnit_Framework_TestCase
{
    public function testReturnsValidMetadata()
    {
        $driver = new NullDriver();

        $metadata = $driver->loadMetadataForClass(new \ReflectionClass('stdClass'));

        $this->assertInstanceOf(ClassMetadata::class, $metadata);
        $this->assertCount(0, $metadata->propertyMetadata);
    }
}

Filemanager

Name Type Size Permission Actions
php Folder 0755
xml Folder 0755
yml Folder 0755
AnnotationDriverTest.php File 322 B 0644
BaseDriverTest.php File 23.43 KB 0644
DoctrineDriverTest.php File 4.78 KB 0644
DoctrinePHPCRDriverTest.php File 3.82 KB 0644
NullDriverTest.php File 516 B 0644
PhpDriverTest.php File 360 B 0644
XmlDriverTest.php File 3.39 KB 0644
YamlDriverTest.php File 2.86 KB 0644