Ejemplo n.º 1
0
        public void RedisHashSetList()
        {
            var customerList = CustomerList();
            var isTrue       = _helper.HashSetList("key", customerList, e => e.Id);
            var dictionary   = _helper.GetAllHashDictionary <Customer>("key");
            var customer     = _helper.GetHash <Customer>("key", "da256fe3-9dc0-46a0-93f3-852a3dbc8dc8");

            Assert.True(isTrue);
            Assert.True(dictionary.Count > 0);
            Assert.NotNull(customer);
        }