public static void MyClassInitialize(TestContext testContext)
        {
            AutoFacResolver.InitialiseFoundation();

            var instance = DependencyResolver.Current.Resolve <IFoundationConfigurationSection>();

            _provider = DependencyResolver.Current.Resolve <IPersistenceProvider>("nhibernate-01");
        }
Exemplo n.º 2
0
 public static void MyClassInitialize(TestContext testContext)
 {
     _testContext = testContext;
     AutoFacResolver.InitialiseFoundation();
 }
Exemplo n.º 3
0
 public static void Start()
 {
     AutoFacResolver.InitialiseFoundation();
 }
Exemplo n.º 4
0
        public static void MyClassInitialize(TestContext testContext)
        {
            AutoFacResolver.InitialiseFoundation();

            DtoMappingHelper.RegisterAllFromAssemblyOf <PersistenceEntityDto>();
        }
Exemplo n.º 5
0
 public static void MyClassInitialize(TestContext testContext)
 {
     AutoFacResolver.InitialiseFoundation();
     _manager = DependencyResolver.Current.Resolve <IPersistenceManager>("in-memory-01");
 }