You are here

public function InlineTest::testParseWithMapObjects in Lockr 7.3

@dataProvider getTestsForParseWithMapObjects

File

vendor/symfony/yaml/Tests/InlineTest.php, line 37

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseWithMapObjects($yaml, $value, $flags = Yaml::PARSE_OBJECT_FOR_MAP) {
  $actual = Inline::parse($yaml, $flags);
  $this
    ->assertSame(serialize($value), serialize($actual));
}