public void ShouldGetEmptyFacetsIfNoCurrentProvider(
     SwitchingBucketProvider sut,
     List <SearchStringModel> searchQuery,
     string locationFilter)
 {
     sut.GetFacets(searchQuery, locationFilter).Should().BeEmpty();
 }
 public void ShouldCallGetFacets(
     BucketProvider current,
     SwitchingBucketProvider sut,
     List <SearchStringModel> searchQuery,
     string locationFilter,
     IList <IEnumerable <SitecoreUIFacet> > expected)
 {
     using (new BucketProviderSwitcher(current))
     {
         current.GetFacets(searchQuery, locationFilter).Returns(expected);
         sut.GetFacets(searchQuery, locationFilter).Should().BeSameAs(expected);
     }
 }
 public void ShouldGetEmptyFacetsIfNoCurrentProvider(SwitchingBucketProvider sut, List <SearchStringModel> searchQuery, string locationFilter, IList <IEnumerable <SitecoreUIFacet> > expected)
 {
     sut.GetFacets(searchQuery, locationFilter).Should().BeEmpty();
 }