public void GetDivisionTestBasic() { // Load Expected result from file var testResponse = File.ReadAllText(@"../../../TestAPIResponses/GetDivisionResult.json"); var jobj = JObject.Parse(testResponse); var divisionArray = (JArray)jobj["divisions"]; var expected = JsonConvert.DeserializeObject <Division>(divisionArray[0].ToString()); // Make API web call var actual = api.GetDivision(16); // central // Assert Assert.AreEqual(expected, actual); }