public RedisEventsLogUnitTests() { _eventsCacheMock = new Mock <ISimpleCache <WrappedEvent> >(); _redisEventsLog = new RedisEvenstLog(_eventsCacheMock.Object); }
private void BuildEventLog(ConfigurationOptions config) { var eventsCache = new RedisEventsCache(_redisAdapter, _config.SdkMachineName, _config.SdkMachineIP, _config.SdkVersion, _config.RedisUserPrefix); _eventsLog = new RedisEvenstLog(eventsCache); }