/** * testConvertToJSON * * @since 3.0.0 */ public function testConvertToJSON() { /* setup */ $reader = new Reader(); $reader->loadXML('tests/provider/reader.xml'); /* actual */ $actual = $reader->getJSON(); /* compare */ $this->assertString($actual); }