You are here

public function DumperTest::testObjectSupportDisabledWithExceptions in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Symfony/Component/Yaml/Tests/DumperTest.php \Symfony\Component\Yaml\Tests\DumperTest::testObjectSupportDisabledWithExceptions()
  2. 7.2 vendor/Symfony/Component/Yaml/Tests/DumperTest.php \Symfony\Component\Yaml\Tests\DumperTest::testObjectSupportDisabledWithExceptions()

@expectedException \Symfony\Component\Yaml\Exception\DumpException

File

vendor/Symfony/Component/Yaml/Tests/DumperTest.php, line 198

Class

DumperTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testObjectSupportDisabledWithExceptions() {
  $this->dumper
    ->dump(array(
    'foo' => new A(),
    'bar' => 1,
  ), 0, 0, true, false);
}