public function DefinitionTest::testSetGetProperties in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/DefinitionTest.php \Symfony\Component\DependencyInjection\Tests\DefinitionTest::testSetGetProperties()
File
- vendor/
symfony/ dependency-injection/ Tests/ DefinitionTest.php, line 311
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function testSetGetProperties() {
$def = new Definition('stdClass');
$this
->assertEquals(array(), $def
->getProperties());
$this
->assertSame($def, $def
->setProperties(array(
'foo' => 'bar',
)));
$this
->assertEquals(array(
'foo' => 'bar',
), $def
->getProperties());
}