public function DefinitionDecoratorTest::testSetLazy in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Tests/DefinitionDecoratorTest.php \Symfony\Component\DependencyInjection\Tests\DefinitionDecoratorTest::testSetLazy()
File
- vendor/
symfony/ dependency-injection/ Tests/ DefinitionDecoratorTest.php, line 88
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function testSetLazy() {
$def = new DefinitionDecorator('foo');
$this
->assertFalse($def
->isLazy());
$this
->assertSame($def, $def
->setLazy(false));
$this
->assertFalse($def
->isLazy());
$this
->assertEquals(array(
'lazy' => true,
), $def
->getChanges());
}