Пример #1
0
        public void GlobalSetup()
        {
            AppHost        = new FakeAppHost(BaseUrl);
            AutoSubstitute = new AutoSubstitute();
            MockingContainerAdapter.SetAutoSubstitute(AutoSubstitute);

            if (!_initialized)
            {
                AppHost.Init();
                _initialized = true;
            }
        }
Пример #2
0
 public void Setup()
 {
     MockingContainerAdapter.SetAutoSubstitute(Tests.Setup.AutoSubstitute);
 }