public function testDate()
{
$snippet = $this->snippetFromMethod(BigQueryClient::class, 'date');
$snippet->addLocal('bigQuery', $this->client);
$this->client->setConnection($this->connection->reveal());
$res = $snippet->invoke('date');
$this->assertInstanceOf(Date::class, $res->returnVal());
}