public void Test_AllwaysReturnsTrue_KeyNullOrEmpty(string testKey)
        {
            Mock <ICacheClient> cacheClientMocker =
                new Mock <ICacheClient>(MockBehavior.Loose);

            ICacheClient cacheClient = cacheClientMocker.Object;

            AlwaysTrueCacheClientRule rule =
                new AlwaysTrueCacheClientRule(cacheClient);

            Assert.Throws <ArgumentNullException>(() => rule.Matches(testKey));
        }
        public void Test_AllwaysReturnsTrue_KeyNotEmpty(string testKey)
        {
            Mock <ICacheClient> cacheClientMocker =
                new Mock <ICacheClient>(MockBehavior.Loose);

            ICacheClient cacheClient = cacheClientMocker.Object;

            AlwaysTrueCacheClientRule rule =
                new AlwaysTrueCacheClientRule(cacheClient);

            Assert.IsTrue(rule.Matches(testKey));
            Assert.AreSame(cacheClient, rule.Client);
        }