Beispiel #1
0
        private void InjectAdapterSubstitute <TService>() where TService : class
        {
            var substitute = Substitute.For <TService>();

            IoCConfig.Inject(substitute);
            _adapterDependencies[typeof(TService)] = substitute;
        }