public function NullDumperTest::testNullDumper in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Tests/LazyProxy/PhpDumper/NullDumperTest.php \Symfony\Component\DependencyInjection\Tests\LazyProxy\PhpDumper\NullDumperTest::testNullDumper()
File
- vendor/
symfony/ dependency-injection/ 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));
}