public void should_find_by_city_state()
        {
            var result = _sut.GetFromCityState("Trenton", "NJ");

            result.City.ShouldEqual("Trenton");
            result.State.ShouldEqual("New Jersey");
        }
Example #2
0
        public GeoCodingResult GetFromCityState(string city, string state)
        {
            var key = MakeKey(city + state);

            return(Get(key, () => _decoratedService.GetFromCityState(city, state)));
        }