You are here

public function ParserTest::testObjectForMap in Lockr 7.3

@dataProvider getObjectForMapTests

File

vendor/symfony/yaml/Tests/ParserTest.php, line 532

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testObjectForMap($yaml, $expected) {
  $flags = Yaml::PARSE_OBJECT_FOR_MAP;
  $this
    ->assertEquals($expected, $this->parser
    ->parse($yaml, $flags));
}