public function testUsesCustomMessageKey()
{
$customKey = 'customKey';
$this->connection->writeEntries(['entries' => [['severity' => $this->severity, 'jsonPayload' => [$customKey => $this->textPayload], 'logName' => $this->formattedName, 'resource' => $this->resource]]])->willReturn([])->shouldBeCalledTimes(1);
$psrLogger = $this->getPsrLogger($this->connection, null, null, $customKey);
$psrLogger->log($this->severity, $this->textPayload);
}