You are here

public function ParserTest::testSpecifications in Service Container 7

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

@dataProvider getDataFormSpecifications

File

modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Tests/ParserTest.php, line 34

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testSpecifications($file, $expected, $yaml, $comment) {
  $this
    ->assertEquals($expected, var_export($this->parser
    ->parse($yaml), true), $comment);
}