public void SortByDescending_GeoPoint_AddsCorrectSort()
        {
            _service.SortByDescending(x => x.GeoPointProperty);

            Assert.True(_service.SortFields.OfType <GeoSort>().Any(x => x.Direction == "desc"));
        }
        public void SortByDescending_SetsCorrectDirection()
        {
            var result = _service.SortByDescending(x => x.StringProperty) as ElasticSearchService <ComplexType>;

            Assert.Equal("desc", result.SortFields[0].Direction);
        }