public void GivenISetTheFollowingBoundingBoxParameters(double lonleft, double latbottom,
                                                               double lonright, double lattop, double zoom)
        {
            //Arrange
            string value = $"{lonleft},{latbottom},{lonright},{lattop},{zoom}";

            RestManager.AddQueryStrings("bbox", value);
            Console.WriteLine("TEST");
        }
        public void GetWeatherDataByGeoCoordinatesTest(string endPoint, int longitude, int latitude)
        {
            //Arrange - Given
            var queryStrings = new List <KeyValuePair <string, object> >();

            queryStrings.Add(new KeyValuePair <string, object>("lon", longitude));
            queryStrings.Add(new KeyValuePair <string, object>("lat", latitude));
            RestManager.AddQueryStrings(queryStrings);

            //Act - When
            RestManager.ExecuteRequest(endPoint, Method.GET);

            //Assert - Then
            Assert.AreEqual(HttpStatusCode.OK, RestManager.Status);
            var responseObjects = ToWeatherData(RestManager.ResponseContent);

            Assert.AreEqual(longitude, responseObjects.Coord.Lon);
            Assert.AreEqual(latitude, responseObjects.Coord.Lat);
        }