public async Task ThenWillSearchForAllFilterTypesAvailable()
        {
            //Arrange
            var expectedProviderId = 1011;
            var queryTemplate      = "test {providerId}";

            _mockElasticSearchQueries.Setup(x => x.GetFilterValuesQuery).Returns(queryTemplate);

            var expectedQuery = $"test {expectedProviderId}";

            //Act
            await _repository.Find(expectedProviderId, "10", 1, 1, _expectedSelectedFilters);

            //Assert
            _mockClient.Verify(c =>
                               c.SearchAsync <StringResponse>(
                                   "test",
                                   It.Is <PostData>(pd =>
                                                    pd.GetRequestString().Equals(expectedQuery)),
                                   It.IsAny <SearchRequestParameters>(),
                                   It.IsAny <CancellationToken>()), Times.Once);
        }
        public async Task ThenWillLookUpLatestReservationList()
        {
            //Arrange
            var expectedQuery = "test query";

            _mockElasticSearchQueries.Setup(x => x.LastIndexSearchQuery).Returns(expectedQuery);

            //Act
            await _repository.Find(10, "10", 1, 1, new SelectedSearchFilters());

            //Assert
            _mockClient.Verify(c =>
                               c.SearchAsync <StringResponse>(
                                   ExpectedReservationIndexLookupName,
                                   It.Is <PostData>(pd =>
                                                    pd.GetRequestString().Equals(expectedQuery)),
                                   It.IsAny <SearchRequestParameters>(),
                                   It.IsAny <CancellationToken>()), Times.Once);
        }