public function NullDumperTest::testNullDumper in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/LazyProxy/PhpDumper/NullDumperTest.php \Symfony\Component\DependencyInjection\Tests\LazyProxy\PhpDumper\NullDumperTest::testNullDumper()
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ LazyProxy/ PhpDumper/ NullDumperTest.php, line 26
Class
- NullDumperTest
- Tests for { @author Marco Pivetta <ocramius@gmail.com>
Namespace
Symfony\Component\DependencyInjection\Tests\LazyProxy\PhpDumperCode
public function testNullDumper() {
$dumper = new NullDumper();
$definition = new Definition('stdClass');
$this
->assertFalse($dumper
->isProxyCandidate($definition));
$this
->assertSame('', $dumper
->getProxyFactoryCode($definition, 'foo'));
$this
->assertSame('', $dumper
->getProxyCode($definition));
}