Example #1
0
        public void ShouldStoreAndRetrieveSubscriber()
        {
            var model = new SubscriberModel
            {
                ApplicationId = "AppTuttle",
                Key           = "KeyTuttle",
            };

            _redis.AddOrUpdateSubscriber(model);
            var result = _redis.GetByApplicationId("AppTuttle");

            Assert.IsNotNull(result);
            result = _redis.GetByKey("KeyTuttle");
            Assert.IsNotNull(result);
        }