public function testQueryWithLimit()
{
$query = self::$client->query()->kind(self::$kind)->limit(1);
$results = $this->runQueryAndSortResults($query);
$this->assertEquals(self::$data[0], $results[0]->get());
$this->assertEquals(1, count($results));
}