public void GivenIndianStateCodeData_WhenAnalysed_ThenShouldReturnStateSortedResult() { IndiaStateCensusAnalyser.JSONStateCensus jSONState = new IndiaStateCensusAnalyser.JSONStateCensus(STATE_CODE_CSV_FILE_PATH); string jsonData = jSONState.SortIndiaStateCodeByState(); JArray jArray = JArray.Parse(jsonData); string firstValue = jArray[0]["StateName"].ToString(); Assert.AreEqual("Andaman and Nicobar Islands", firstValue); }