public function testStaticApiGetThrowableStack_ReturnsStack_ForException()
{
$prev = $this->createException('Previous');
$ex = $this->createException($message = 'Exception', $prev);
$stack = Throwable::getThrowableStack($ex);
$this->assertData($stack);
$this->assertData($stack['prev']);
}