<?php/* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespaceSymfony\Component\DependencyInjection\Tests\LazyProxy\PhpDumper;usePHPUnit\Framework\TestCase;useSymfony\Component\DependencyInjection\Definition;useSymfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper;/** * Tests for {@see \Symfony\Component\DependencyInjection\PhpDumper\NullDumper}. * * @author Marco Pivetta <ocramius@gmail.com> */classNullDumperTestextendsTestCase{publicfunctiontestNullDumper(){$dumper=newNullDumper();$definition=newDefinition('stdClass');$this->assertFalse($dumper->isProxyCandidate($definition));$this->assertSame('',$dumper->getProxyFactoryCode($definition,'foo','(false)'));$this->assertSame('',$dumper->getProxyCode($definition));}}