public function testProtectedApiCreateMessageProtocol_DoesNotOverwriteSetFields()
{
$channel = $this->createChannel();
$message = new Protocol($type = 'type', $pid = 'pid', $dest = 'destination', $origin = 'origin', $text = 'text', $exception = 'exception', $timestamp = 100);
$result = $this->callProtectedMethod($channel, 'createMessageProtocol', [$message]);
$this->assertInstanceOf(Protocol::class, $result);
$this->assertSame($type, $result->getType());
$this->assertSame($pid, $result->getPid());
$this->assertSame($dest, $result->getDestination());
$this->assertSame($origin, $result->getOrigin());
$this->assertSame($text, $result->getMessage());
$this->assertSame($exception, $result->getException());
$this->assertSame($timestamp, $result->getTimestamp());
}