assertSame('task_exception_name', $taskException->getName()); } public function testGetWorkerTrace() { $taskException = new TaskException('task_exception_name', 'task_exception_message', 'task_trace_message'); $this->assertSame('task_trace_message', $taskException->getWorkerTrace()); } }