public void ThenTheSearchResultCountReflectsTheDetailsInTheSubHeader()
        {
            if (_searchResults._openRestaurantsAvailable)
            {
                var openRestaurantsSubHeaderValue    = StateManager.Get <int>(Result.OpenRestaurantsCountFromSubheader.ToString());
                var openRestaurantsSearchResultCount = StateManager.Get <int>(Result.OpenRestaurantsFromSearchResult.ToString());

                ValidationHelper.AssertEqual(openRestaurantsSearchResultCount, openRestaurantsSubHeaderValue);
            }
            else
            {
                var subheaderAfterRestaurantSearch = StateManager.Get <string>(Result.RestaurantSubHeader.ToString());

                ValidationHelper.AssertTrue(subheaderAfterRestaurantSearch, _openRestaurantUnavailableSubheader);
            }
        }