public void GetWeatherDataByCityIDTest(string endPoint, string key, string value) { //Arrange - Given RestManager.AddParameter(key, value); //Act - When RestManager.ExecuteRequest(endPoint, Method.GET); //Assert - Then Assert.AreEqual(HttpStatusCode.OK, RestManager.Status); var responseObjects = ToWeatherData(RestManager.ResponseContent); Assert.AreEqual(Convert.ToInt32(value), responseObjects.Id); }