[TestMethod()]//Check if correct code is returned for state or country public void ParseCodeTestToCheckIfCorrectCodeIsReturnedForStateOrCountry() { //Arrange string state = "MAHARASHTRA"; string country = "CANADA"; //Act var StateResult = AvaTaxProfileAssistantHelper.ParseCode(state, ParseCodeCollection.State); var CountryResult = AvaTaxProfileAssistantHelper.ParseCode(country, ParseCodeCollection.Country); //Assert Assert.AreEqual("MH", StateResult, "Incorrect state code returned!!"); Assert.AreEqual("CA", CountryResult, "Incorrect country code returned!!"); }