public void Create()
        {
            var cache = A.Fake<ICache>();
            var settings = new Dictionary<string, string> {
                { Keys.Start, "1" },
                { Keys.Increment, "1" },
            };

            var obj = new NumberIdentityProvider(cache, settings);

            Assert.IsNotNull(obj);
        }
        public void Get()
        {
            var start = 2;
            var increment = 2;
            var cache = A.Fake<ICache>();
            var settings = new Dictionary<string, string> {
                { Keys.Start, start.ToString() },
                { Keys.Increment, increment.ToString() },
            };

            var obj = new NumberIdentityProvider(cache, settings);

            var result = obj.GetAll();

            var j = 9;
            foreach (var t in result)
            {
                Assert.True((string)t[0] == start.ToString());
                start += increment;
                if (j-- == 0) break;
            }
        }