/** * Series output */ public function testColors() { $linechart = new Highchart(); $colors = array('#FF0000', '#00FF00', '#0000FF'); $linechart->colors($colors); $this->assertRegExp('/colors: \\[\\["#FF0000","#00FF00","#0000FF"\\]\\]/', $linechart->render()); }