private void InjectAdapterSubstitute <TService>() where TService : class { var substitute = Substitute.For <TService>(); IoCConfig.Inject(substitute); _adapterDependencies[typeof(TService)] = substitute; }