public function testGetsEntriesWithAdditionalFilter()
{
$filter = 'textPayload = "hello world"';
$this->connection->listEntries(['pageToken' => null, 'resourceNames' => ["projects/{$this->projectId}"], 'filter' => $filter . " AND logName = {$this->formattedName}"])->willReturn([])->shouldBeCalledTimes(1);
$logger = $this->getLogger($this->connection);
$entries = iterator_to_array($logger->entries(['filter' => $filter]));
$this->assertEmpty($entries);
}