public void Init(IKernel kernel, IConfiguration facilityConfig) { _autoMockingDependencyResolver = new AutoMockingDependencyResolver(_relatedRepository); kernel.Resolver.AddSubResolver(_autoMockingDependencyResolver); }