public async Task GetAllCustomerDetails() { AlertDataModel data = new AlertDataModel() { CustomerName = CustName.Text, CustomerContactNo = CustNo.Text, CustomerRegion = CustRegion.Text, CustomerEmailId = CustEmail.Text, ProductIdConfirmed = ProductId.Text }; GetCustomerDetails details = new GetCustomerDetails(); await details.ProductConfirmation(data); }
public async void Test14() { GetCustomerDetails alert = new GetCustomerDetails(); AlertDataModel data = new AlertDataModel() { CustomerName = "Niki", CustomerContactNo = "98765430", CustomerRegion = "South", CustomerEmailId = "*****@*****.**", ProductIdConfirmed = "P106" }; await alert.ProductConfirmation(data); string notification = GetCustomerDetails.notification; string expected = ""; Assert.Equal(expected, notification); }