public void ShouldCallCopyItem( BucketProvider current, SwitchingBucketProvider sut, Item source, Item target, bool deep) { using (new BucketProviderSwitcher(current)) { sut.CopyItem(source, target, deep); current.Received().CopyItem(source, target, deep); } }
public void ShouldCallCopyItem([Frozen] BucketProvider current, BucketProviderSwitcher switcher, SwitchingBucketProvider sut, Item source, Item target, bool deep) { sut.CopyItem(source, target, deep); current.Received().CopyItem(source, target, deep); }