public function DefinitionTest::testSetGetFile in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php \Symfony\Component\DependencyInjection\Tests\DefinitionTest::testSetGetFile()
@covers Symfony\Component\DependencyInjection\Definition::setFile @covers Symfony\Component\DependencyInjection\Definition::getFile
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ DefinitionTest.php, line 123
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function testSetGetFile() {
$def = new Definition('stdClass');
$this
->assertSame($def, $def
->setFile('foo'), '->setFile() implements a fluent interface');
$this
->assertEquals('foo', $def
->getFile(), '->getFile() returns the file to include');
}