/** * */ public function testStaticApiToStackString_ReturnsStackTraceAsString() { $prev = $this->createException('Previous'); $ex = $this->createException('Exception', $prev); $this->assertStackString(Exception::toStackString($ex)); }