public void ShouldCallIsBucket(
     BucketProvider current,
     SwitchingBucketProvider sut,
     Item item)
 {
     using (new BucketProviderSwitcher(current))
     {
         current.IsBucket(item).Returns(true);
         sut.IsBucket(item).Should().BeTrue();
     }
 }
 public void IsBucketReturnsFalseIfNoCurrentProvider(SwitchingBucketProvider sut, Item item)
 {
     sut.IsBucket(item).Should().BeFalse();
 }
 public void ShouldCallIsBucket([Frozen] BucketProvider current, BucketProviderSwitcher switcher, SwitchingBucketProvider sut, Item item)
 {
     current.IsBucket(item).Returns(true);
     sut.IsBucket(item).Should().BeTrue();
 }