public void TestInit() { _mockCacheProvider = Substitute.For<ICacheProvider>(); _manager = new DefaultCacheManager( _mockCacheProvider,new DefaultCacheKey() ); _mockRepository = Substitute.For<ITest3Repository>(); _key = "a"; _cacheKey = "CacheKey_a"; _signKey = "CacheKey_Sign_a"; _testA = Test3.CreateA(); }
public void TestInit() { _mockCacheProvider = Substitute.For <ICacheProvider>(); _manager = new DefaultCacheManager(_mockCacheProvider, new DefaultCacheKey()); _mockRepository = Substitute.For <ITest3Repository>(); _key = "a"; _cacheKey = "CacheKey_a"; _signKey = "CacheKey_Sign_a"; _testA = Test3.CreateA(); }