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