/** * @dataProvider get_vars_from_array_throws_data * @expectedException LogicException */ public function test_get_vars_from_array_throws($lines, $event_line, $exception_code) { $this->setExpectedException('LogicException', '', $exception_code); $this->exporter->set_current_event('', $event_line); $this->exporter->set_content($lines); $this->exporter->get_vars_from_array(); }