Ejemplo n.º 1
0
        public RedisEventsLogUnitTests()
        {
            _eventsCacheMock = new Mock <ISimpleCache <WrappedEvent> >();

            _redisEventsLog = new RedisEvenstLog(_eventsCacheMock.Object);
        }
Ejemplo n.º 2
0
        private void BuildEventLog(ConfigurationOptions config)
        {
            var eventsCache = new RedisEventsCache(_redisAdapter, _config.SdkMachineName, _config.SdkMachineIP, _config.SdkVersion, _config.RedisUserPrefix);

            _eventsLog = new RedisEvenstLog(eventsCache);
        }