/** * @dataProvider array2xml_dp */ public function testArray2xml($array, $expected) { $a2x = new Array2XML($array); $this->assertEquals($expected, $a2x->__toString()); }
public function report() { $xml = new Array2XML($this->data); $this->write($xml->get()); }