@expectedException \Symfony\Component\Yaml\Exception\DumpException
public function testObjectSupportDisabledWithExceptions() { $this->dumper ->dump(array( 'foo' => new A(), 'bar' => 1, ), 0, 0, true, false); }