Created a CacheDependencyFactory for creating System.Web.Caching.CacheDependency instances in a way that can be injected.
Reworked GetCacheDependency logic to make it more clear.