/** * */ public function testStaticApiToStackTrace_ReturnsStackTrace() { $prev = $this->createException('Previous'); $ex = $this->createException('Exception', $prev); $this->assertStackTrace(Exception::toStackTrace($ex)); }