public function report() { $html = new Array2HTML($this->data); $this->write($html->get()); copy('Resources/script.js', dirname($this->f) . '/script.js'); copy('Resources/style.css', dirname($this->f) . '/style.css'); }
/** * @dataProvider array2html_dp */ public function testArray2html($array, $expected) { $a2h = new Array2HTML($array); $this->assertEquals($expected, $a2h->get()); }