예제 #1
0
        public void Setup()
        {
            var lockObjectGenerator = CreateLockObjectGenerator();

            CacheBuilder = new CacheBuilder(ProxyFactory)
                           .SetCache(CreateCache())
                           .SetCacheKey(CreateCacheKey());
            if (lockObjectGenerator != null)
            {
                CacheBuilder.SetLockObjectGenerator(lockObjectGenerator);
            }
            TestSetup();
        }