public void ShouldBeAbleToSetCustomCacheability()
        {
            var cachableTypeWithCustomCacheability = new CacheableTypeWithCustomHttpCacheability();

            var cacheAttribute =
                EnableOutputCacheAttribute.GetServiceOutputCacheSettings(cachableTypeWithCustomCacheability.GetType());

            Assert.AreEqual(HttpCacheability.Public, cacheAttribute.HttpCacheability);
        }
        public void ShouldBeAbleToSetCustomCacheability()
        {
            var cachableTypeWithCustomCacheability = new CacheableTypeWithCustomHttpCacheability();

            var cacheAttribute =
                EnableOutputCacheAttribute.GetServiceOutputCacheSettings(cachableTypeWithCustomCacheability.GetType());

            Assert.AreEqual(HttpCacheability.Public, cacheAttribute.HttpCacheability);
        }