public function YamlTest::testParseAndDump in Lockr 7.3
File
- vendor/
symfony/ yaml/ Tests/ YamlTest.php, line 19
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testParseAndDump() {
$data = [
'lorem' => 'ipsum',
'dolor' => 'sit',
];
$yml = Yaml::dump($data);
$parsed = Yaml::parse($yml);
$this
->assertEquals($data, $parsed);
}