/** * @expectedException ErrorException */ public function testEmptyServiceParseCallThrowsException() { \Flint\App::getInstance(['options' => ['debug' => true], 'core' => ['configDir' => __DIR__ . '/../data']]); $parser = new ServiceParser('fakefile.php'); $parser->parse(); }