public override void Prepare() { UnityService.RegisterInstance(typeof(ICache), CacheFactory.GetLocalCache()); if (!UnityService.HasRegistered(typeof(IDbConfigLoader))) { UnityService.RegisterInstance(typeof(IDbConfigLoader), new DefaultDbConfigLoader()); } }