public function InlineTest::testParse

File

drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Tests/InlineTest.php, line 19

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParse() {
  foreach ($this
    ->getTestsForParse() as $yaml => $value) {
    $this
      ->assertEquals($value, Inline::parse($yaml), sprintf('::parse() converts an inline YAML to a PHP structure (%s)', $yaml));
  }
}