public RedisCache(ISerializer serializer, IRedisWrapper redisWrapper = null) { GuardHelper.ArgumentNotNull(() => serializer); if (redisWrapper == null) { redisWrapper = RedisFactory.GetRedisWrapper(); } this.serializer = serializer; this.redisWrapper = redisWrapper; }
public RedisWrapperTest() { this.redisWrapper = RedisFactory.GetRedisWrapper(); }
public LockTest(ITestOutputHelper testOutput) { ServiceLocator.SetLocatorProvider(UnityConfig.GetConfiguredContainer()); this.redisWrapper = RedisFactory.GetRedisWrapper(); this.testOutput = testOutput; }