public void ShouldCallCreateBucket(
     BucketProvider current,
     SwitchingBucketProvider sut,
     Item item,
     Action <Item> callBack)
 {
     using (new BucketProviderSwitcher(current))
     {
         sut.CreateBucket(item, callBack);
         current.Received().CreateBucket(item, callBack);
     }
 }
 public void ShouldCallCreateBucket([Frozen] BucketProvider current, BucketProviderSwitcher switcher, SwitchingBucketProvider sut, Item item, Action <Item> callBack)
 {
     sut.CreateBucket(item, callBack);
     current.Received().CreateBucket(item, callBack);
 }