public void ShouldReturnNullWhenNoOutCacheAttributeIsPresent() { var nonCachableType = new NonCachableType(); var cacheAttribute = EnableOutputCacheAttribute.GetServiceOutputCacheSettings(nonCachableType.GetType()); Assert.IsNull(cacheAttribute); }