public void GetUriWhenTest() { var request = new GeolocationRequest { Key = "abc" }; var uri = request.GetUri(); Assert.IsNotNull(uri); Assert.AreEqual($"/geolocation/v1/geolocate?key={request.Key}", uri.PathAndQuery); }