Пример #1
0
        public void TestMethod1()
        {
            RealDataService rds  = new RealDataService(new RestService(), null);
            var             data = rds.Chef.GetManyAsync();

            Assert.IsNotNull(data);
        }
Пример #2
0
        public async Task TestChefService()
        {
            var rs    = new RestService();
            var ds    = new RealDataService(rs, null);
            var chefs = await ds.Chef.GetManyAsync();

            Assert.IsNotNull(chefs);
        }