예제 #1
0
        public async Task Should_read_many_async()
        {
            var contents = await client.GetAsync();

            for (var i = contents.Total; i < 20000; i++)
            {
                await client.CreateAsync(new TestEntityData
                {
                    String = RandomString.Create(1000)
                }, publish : true);
            }

            var found = await client.GetAll2Async();

            Assert.Equal(20000, found.Items.Count);
        }