[TestMethod()]//Checks if data is inserted in database. public void InsertAccountInfoTestToCheckInsertionOfRecordInDatabase() { //Act var actualresult = AvaTaxProfileAssistantHelper.InsertAccountInfo(input.AccountCredentials); var expectedresult = AvaTaxProfileAssistantHelper.GetAccountInfo(actualresult.ID); //Assert Assert.AreEqual(expectedresult.ID, actualresult.ID, "Insertion of account information in database failed!!Incorrect Account ID!"); Assert.AreEqual(expectedresult.AccountNumber, actualresult.AccountNumber, "Insertion of account information in database failed!!Incorrect AccountNumber!"); Assert.AreEqual(expectedresult.UserName, actualresult.UserName, "Insertion of account information in database failed!!Incorrect Username!"); Assert.AreEqual(expectedresult.Password, actualresult.Password, "Insertion of account information in database failed!!Incorrect Password!"); Assert.AreEqual(expectedresult.LicenseKey, actualresult.LicenseKey, "Insertion of account information in database failed!!Incorrect License key!"); Assert.AreEqual(expectedresult.CompanyCode, actualresult.CompanyCode, "Insertion of account information in database failed!!Incorrect Company Code!"); Assert.AreEqual(expectedresult.Webservice, actualresult.Webservice, "Insertion of account information in database failed!!Incorrect WebService!"); }