public function ParameterTest::testConstructor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/ParameterTest.php \Symfony\Component\DependencyInjection\Tests\ParameterTest::testConstructor()
@covers Symfony\Component\DependencyInjection\Parameter::__construct
File
- vendor/
symfony/ dependency-injection/ Tests/ ParameterTest.php, line 21
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function testConstructor() {
$ref = new Parameter('foo');
$this
->assertEquals('foo', (string) $ref, '__construct() sets the id of the parameter, which is used for the __toString() method');
}