public async void GetListOfLaptopAsyncTest() { ILaptopService laptopService = GetServiceObject(); DC.LaptopResponse list = await laptopService.GetListOfLaptopAsync(); Assert.NotEmpty(list.Laptops); }
public Task <LaptopResponse> GetListOfLaptopAsync() { //ILaptopService laptopService = _objectProvider.GetInstance<ILaptopService>(); return(_laptopService.GetListOfLaptopAsync()); }