/** * Label */ public function testChl() { $data = new GoogleChartData(array(10, 20, 30)); $this->assertEquals($data->computeChl(), '||'); $data->setLabels(array('Foo', 'Bar', '?')); $this->assertEquals($data->computeChl(), 'Foo|Bar|?'); }