You are here

public function DumperTest::testObjectSupportDisabledWithExceptions in Plug 7

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

File

lib/Symfony/yaml/Symfony/Component/Yaml/Tests/DumperTest.php, line 196

Class

DumperTest

Namespace

Symfony\Component\Yaml\Tests

Code

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