You are here

public function InlineTest::testParseReferences in Plug 7

@dataProvider getDataForParseReferences

File

lib/Symfony/yaml/Symfony/Component/Yaml/Tests/InlineTest.php, line 125

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseReferences($yaml, $expected) {
  $this
    ->assertSame($expected, Inline::parse($yaml, false, false, false, array(
    'var' => 'var-value',
  )));
}