public void TestGetMetadata()
        {
            AsyncQueryResultsEnumerable <int> testIter = new AsyncQueryResultsEnumerable <int>(null, "", "", PrepareQueryResponseAsync, (qv) => 0);

            Assert.AreEqual(testIter.GetMetadataAsync().RunAndUnwrap().Bookmark, "asdf");
            Assert.AreEqual(testIter.GetMetadataAsync().RunAndUnwrap().FetchedRecordsCount, 2);
        }
        public void TestGetInvalidMetadata()
        {
            AsyncQueryResultsEnumerable <int> testIter = new AsyncQueryResultsEnumerable <int>(null, "", "", PrepareQueryResponseWrongMetaAsync, (qv) => 0);

            testIter.GetMetadataAsync().RunAndUnwrap();
            Assert.Fail("Expected bad constructed metadata");
        }