internal static bool HandleAny(AdvancedSearchCriteria criteria, EktronSearcher searcher)
 {
     criteria.PagingInfo.RecordsPerPage = 1;
     List<SearchResultData> searchResultData = searcher.DoSearch(criteria);
     return searchResultData.Count > 0;
 }
 internal static Int32 HandleCount(AdvancedSearchCriteria criteria, EktronSearcher searcher)
 {
     criteria.PagingInfo.RecordsPerPage = int.MaxValue;
     List<SearchResultData> searchResultData = searcher.DoSearch(criteria);
     return searchResultData.Count;
 }
 public NullableTests()
 {
     _idProvider = new IdProvider();
     _searchManager = ObjectFactory.GetSearchManager();
     _searcher = new EktronSearcher(_searchManager);
 }