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