/** * @expectedException \RuntimeException */ public function testAddColumnsException() { $exporter = new DataExporter(); $exporter->setColumns(array()); }