示例#1
0
        public async void GetListOfLaptopAsyncTest()
        {
            ILaptopService laptopService = GetServiceObject();

            DC.LaptopResponse list = await laptopService.GetListOfLaptopAsync();

            Assert.NotEmpty(list.Laptops);
        }
示例#2
0
 public Task <LaptopResponse> GetListOfLaptopAsync()
 {
     //ILaptopService laptopService = _objectProvider.GetInstance<ILaptopService>();
     return(_laptopService.GetListOfLaptopAsync());
 }