You are here

public function InlineTest::testParseMapReferenceInSequence in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Tests/InlineTest.php \Symfony\Component\Yaml\Tests\InlineTest::testParseMapReferenceInSequence()

File

modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Tests/InlineTest.php, line 144

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseMapReferenceInSequence() {
  $foo = array(
    'a' => 'Steve',
    'b' => 'Clark',
    'c' => 'Brian',
  );
  $this
    ->assertSame(array(
    $foo,
  ), Inline::parse('[*foo]', false, false, false, array(
    'foo' => $foo,
  )));
}