public function YamlTest::testParseAndDump in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/Yaml/Tests/YamlTest.php \Symfony\Component\Yaml\Tests\YamlTest::testParseAndDump()
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ Yaml/ Tests/ YamlTest.php, line 18
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testParseAndDump() {
$data = array(
'lorem' => 'ipsum',
'dolor' => 'sit',
);
$yml = Yaml::dump($data);
$parsed = Yaml::parse($yml);
$this
->assertEquals($data, $parsed);
}