You are here

public function ParserTest::testTaggedInlineMapping in Database Sanitize 7

File

vendor/symfony/yaml/Tests/ParserTest.php, line 1763

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testTaggedInlineMapping() {
  $this
    ->assertEquals(new TaggedValue('foo', array(
    'foo' => 'bar',
  )), $this->parser
    ->parse('!foo {foo: bar}', Yaml::PARSE_CUSTOM_TAGS));
}