示例#1
0
        public Tests()
        {
            IConfigurationRoot  config     = DependencyInjectionWiring.BuildConfig();
            TestHarnessDbConfig testConfig = new TestHarnessDbConfig();

            config.GetSection("TestHarnessDbConfig").Bind(testConfig);

            _provider = new TestHarnessUnitOfWorkProvider(testConfig);
            _repo     = new TestHarnessRepository(_provider);
        }
示例#2
0
 public DependencyInjectionWiringTest()
 {
     _services = new DummyServiceCollection();
     _config   = DependencyInjectionWiring.BuildConfig("Local");
 }