private StoreReplacePreviousItemWithLock ( ) : void | ||
return | void |
public void StoreReplacePreviousItemWithLock()
{
cache.LockForBuilder(T);
cache.Store(T, fingerprint.Object, new TargetRelativePath[0], root);
cache.Store(T, otherFingerprint.Object, new TargetRelativePath[0], root);
cache.Contains(T, fingerprint.Object).Should().BeFalse();
cache.Contains(T, otherFingerprint.Object).Should().BeTrue();
cache.UnlockForBuilder(T);
}