public function InlineTest::testDump in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/yaml/Tests/InlineTest.php \Symfony\Component\Yaml\Tests\InlineTest::testDump()
@dataProvider getTestsForDump
File
- vendor/
symfony/ yaml/ Tests/ InlineTest.php, line 39
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testDump($yaml, $value) {
$this
->assertEquals($yaml, Inline::dump($value), sprintf('::dump() converts a PHP structure to an inline YAML (%s)', $yaml));
$this
->assertSame($value, Inline::parse(Inline::dump($value)), 'check consistency');
}