Bari.Core.Test.Build.Cache.MemoryBuildCacheTest.ContainsItemAfterStoreWithLock C# (CSharp) Method

ContainsItemAfterStoreWithLock() private method

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