public static function creatDunnyLogEntry()
 {
     $logEntry = new LogEntry();
     $logEntryEtn = new LogEntryEtn();
     $logEntry->setRequestBody($logEntryEtn->getLastRequest());
     $logEntry->setResponseBody($logEntryEtn->getLastResponse());
     $logEntry->setRequestDateTime($logEntryEtn->getLastRequestDateTime());
     $logEntry->setResponseDateTime($logEntryEtn->getLastResponseDateTime());
     $logEntry->setRequestHeader('test');
     $logEntry->setResponseHeader("test2");
     return $logEntry;
 }
 public function setCommunicationLog(LogEntryEtn $logEntryEtn)
 {
     $this->logEntry = new LogEntry();
     $this->logEntry->setRequestBody($logEntryEtn->getLastRequest());
     $this->logEntry->setResponseBody($logEntryEtn->getLastResponse());
     $this->logEntry->setRequestDateTime($logEntryEtn->getLastRequestDateTime());
     $this->logEntry->setResponseDateTime($logEntryEtn->getLastResponseDateTime());
     return $this;
 }