isXdebugStackAvailable()) { $this->markTestSkipped('Xdebug is required.'); } try { throw new ErrorException(); } catch (ErrorException $e){ $this->assertEquals(__FUNCTION__, $e->getTrace()[0]['function']); } } }