public function DumperTest::testObjectSupportDisabledButNoExceptions in Lockr 7.3
File
- vendor/
symfony/ yaml/ Tests/ DumperTest.php, line 226
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testObjectSupportDisabledButNoExceptions() {
$dump = $this->dumper
->dump([
'foo' => new A(),
'bar' => 1,
]);
$this
->assertEquals('{ foo: null, bar: 1 }', $dump, '->dump() does not dump objects when disabled');
}