public function testGetAppIDInException() { $appId = 'testexceptionappid'; $app = new App(['timezone' => 'UTC'], $appId); $exception = new Exception($this->app, new \RuntimeException('yo! I am runtime exception.')); $this->assertEquals($appId, $exception->getAppId()); }