public function testStaticApiGetThrowableData_ReturnsData_ForException() { $prev = $this->createException('Previous'); $ex = $this->createException($message = 'Exception', $prev); $data = Throwable::getThrowableData($ex); $this->assertData($data); }