- * @expectedException Exception
- * @expectedExceptionMessage An error occured while parsing JSON file: error code #4
+ * @expectedException \Exception
+ * @expectedExceptionMessageRegExp /An error occurred while parsing JSON configuration file \([\w\/\.]+\): error code #4/