Example #1
0
 public function test2_Conversions()
 {
     # conversions
     $this->assertEquals('{"part1":{"item1":"stuff"}}', static::$collection->exportJSON());
     $this->assertEquals("part1:\n    item1: stuff\n", static::$collection->exportYAML());
 }