public void ThenTheAssociateCustomerUserEventDetailsAreNOTStoredInVSSDB() { string userUID = customerUserServiceSupport.AssociateCustomerUserModel.UserUID.ToString(); string validateQuery = CustomerListSqlQueries.CustomerUserDetailsByCustomerUID + userUID + "'"; MySqlUtil.ValidateMySQLQueryCount(MySqlConnectionString, validateQuery, 0); // There should be no matching rows. }
public void ThenTheDeleteCustomerEventDetailsAreRemovedInVSSDB() { CommonUtil.WaitToProcess(CustomerListConfig.KafkaTimeoutThreshold); customerUID = customerServiceSupport.DeleteCustomerModel.CustomerUID.ToString(); string validateQuery = CustomerListSqlQueries.CustomerDetailsUpdateByCustomerUID + customerUID + "'"; MySqlUtil.ValidateMySQLQueryCount(MySqlConnectionString, validateQuery, 0); // There should be no matching rows. }
public void ThenTheDissociateCustomerUserEventDetailsAreRemovedInVSSDB() { CommonUtil.WaitToProcess("2"); string customerUID = customerAssetServiceSupport.DissociateCustomerAssetModel.CustomerUID.ToString(); string userUID = customerAssetServiceSupport.DissociateCustomerAssetModel.AssetUID.ToString(); string validateQuery = CustomerServiceMySqlQueries.CustomerUserDetails + customerUID + "' AND fk_UserUID='" + userUID + "'"; MySqlUtil.ValidateMySQLQueryCount(MySqlConnectionString, validateQuery, 0); // There should be no matching rows. }
public void ThenTheDeleteCustomerEventDetailsAreRemovedInVSSDB() { string customerUID = customerServiceSupport.DeleteCustomerModel.CustomerUID.ToString(); CommonUtil.WaitToProcess("2"); //Wait for the data to get persisted in DB customerUID = customerServiceSupport.DeleteCustomerModel.CustomerUID.ToString(); string validateQuery = CustomerServiceMySqlQueries.CustomerDetailsUpdateByCustomerUID + customerUID + "'"; MySqlUtil.ValidateMySQLQueryCount(MySqlConnectionString, validateQuery, 0); // There should be no matching rows. }