public function testGetsEntriesWithNoResults()
{
$options = ['orderBy' => 'timestamp desc', 'pageSize' => 50];
$this->connection->listEntries($options + ['pageToken' => null, 'resourceNames' => ["projects/{$this->projectId}"], 'filter' => "logName = {$this->formattedName}"])->willReturn([])->shouldBeCalledTimes(1);
$logger = $this->getLogger($this->connection);
$entries = iterator_to_array($logger->entries($options));
$this->assertEmpty($entries);
}