public function testOverridePsrLoggerDefaults()
{
$newResource = ['type' => 'new'];
$defaultLabels = ['testing' => 'labels'];
$newLabels = ['new' => 'labels'];
$this->connection->writeEntries(['entries' => [['severity' => $this->severity, 'jsonPayload' => ['message' => $this->textPayload], 'logName' => $this->formattedName, 'resource' => $newResource, 'labels' => $newLabels]]])->willReturn([])->shouldBeCalledTimes(1);
$psrLogger = $this->getPsrLogger($this->connection, null, $defaultLabels);
$this->assertNull($psrLogger->log($this->severity, $this->textPayload, ['stackdriverOptions' => ['resource' => $newResource, 'labels' => $newLabels]]));
}