public function case_get_backtrace() { $this->given($exception = new SUT('foo'))->when($result = $exception->getBacktrace())->then->array($result)->hasKey(0)->array($result[0])->hasKey('file')->hasKey('line')->hasKey('function')->hasKey('class')->hasKey('type')->hasKey('args'); }