You are here

public function DumperTest::testObjectSupportDisabledWithExceptions in Currency 7.2

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

File

currency/vendor/symfony/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);
}