Exemplo n.º 1
0
        public async void ToListAsyncReturnsCorrectResults()
        {
            var memory  = DataAssert.Data.Memory <WebUser>().Where(w => w.Id > 80).OrderBy(w => w.Id).ToList();
            var elastic = await DataAssert.Data.Elastic <WebUser>().Where(w => w.Id > 80).OrderBy(w => w.Id).ToListAsync();

            DataAssert.SameSequence(memory, elastic);
        }