public function ParameterBagTest::testResolveStringWithSpacesReturnsString in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Tests/ParameterBag/ParameterBagTest.php \Symfony\Component\DependencyInjection\Tests\ParameterBag\ParameterBagTest::testResolveStringWithSpacesReturnsString()
@covers Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::resolve @dataProvider stringsWithSpacesProvider
File
- vendor/
symfony/ dependency-injection/ Tests/ ParameterBag/ ParameterBagTest.php, line 259
Class
Namespace
Symfony\Component\DependencyInjection\Tests\ParameterBagCode
public function testResolveStringWithSpacesReturnsString($expected, $test, $description) {
$bag = new ParameterBag(array(
'foo' => 'bar',
));
try {
$this
->assertEquals($expected, $bag
->resolveString($test), $description);
} catch (ParameterNotFoundException $e) {
$this
->fail(sprintf('%s - "%s"', $description, $expected));
}
}