Example #1
0
 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());
 }