public function testQueryWithStartCursor()
{
$query = self::$client->query()->kind(self::$kind)->limit(1);
$results = iterator_to_array(self::$client->runQuery($query));
$cursorQuery = self::$client->query()->kind(self::$kind)->start($results[0]->cursor());
$results = $this->runQueryAndSortResults($cursorQuery);
$this->assertEquals(self::$data[1], $results[0]->get());
$this->assertEquals(self::$data[2], $results[1]->get());
$this->assertEquals(self::$data[3], $results[2]->get());
$this->assertEquals(3, count($results));
}