[TestMethod()]//Check if the method returns correct state code public void GetStateCodeTestToCheckIfItReturnsCorrectStateCode() { //Arrange string state = "WASHINGTON"; //Act var result = AvaTaxProfileAssistantHelper.GetStateCode(state); //Assert Assert.AreEqual("WA", result, "Incorrect state code returned!!"); }