public void Add_sortedsetlist_should_success()
        {
            string key = "SortedSetItemsKey";

            provider.Delete(key);

            var persons = MockData.GetPersonsMock(12);

            int count = 500;

            List <SortedSetEntity <Person> > list = new List <SortedSetEntity <Person> >();

            foreach (var person in persons)
            {
                SortedSetEntity <Person> entities = new SortedSetEntity <Person>(person, count);
                list.Add(entities);
                count += 500;
            }

            long addedCount = provider.AddSortedSet(key, list);

            addedCount.Should().Be(12);

            var sortedSets = provider.GetSortedSetsAll <Person>(key);

            int expCount = 500;
            int index    = 0;

            foreach (var set in sortedSets)
            {
                var person = persons.ElementAt(index);

                set.Item.Id.Should().Be(person.Id);
                set.Score.Should().Be(expCount);

                index    += 1;
                expCount += 500;
            }

            bool actual = provider.Delete(key);

            actual.Should().BeTrue();

            actual = provider.Exists(key);

            actual.Should().BeFalse();
        }