/** * @dataProvider crawl_php_file_data */ public function test_crawl_php_file($file) { $this->assertGreaterThanOrEqual(0, $this->exporter->crawl_php_file($file)); }
/** * @dataProvider crawl_php_file_throws_data */ public function test_crawl_php_file_throws($file, $exception_code) { $this->setExpectedException('LogicException', '', $exception_code); $this->exporter->crawl_php_file($file); }