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

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

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