public function DumperTest::testObjectSupportDisabledButNoExceptions in Zircon Profile 8        
                          
                  
                        Same name and namespace in other branches
- 8.0 vendor/symfony/yaml/Tests/DumperTest.php \Symfony\Component\Yaml\Tests\DumperTest::testObjectSupportDisabledButNoExceptions()
 
 
File
 
   - vendor/symfony/yaml/Tests/DumperTest.php, line 186
 
  
  Class
  
  - DumperTest 
 
  
  Namespace
  Symfony\Component\Yaml\Tests
Code
public function testObjectSupportDisabledButNoExceptions() {
  $dump = $this->dumper
    ->dump(array(
    'foo' => new A(),
    'bar' => 1,
  ));
  $this
    ->assertEquals('{ foo: null, bar: 1 }', $dump, '->dump() does not dump objects when disabled');
}