/**
  * @dataProvider find_description_throws_data
  * @expectedException LogicException
  */
 public function test_find_description_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->find_description();
 }
Exemple #2
0
 /**
  * @dataProvider crawl_php_file_data
  */
 public function test_crawl_php_file($file)
 {
     $this->assertGreaterThanOrEqual(0, $this->exporter->crawl_php_file($file));
 }