Пример #1
0
 protected void FixtureSetUp()
 {
     _kernel      = new StandardKernel(new IntegrationTestModule());
     _transaction = _kernel.Get <TransactionManager>();
     _transaction.Bind();
     _transaction.BeginTransaction();
 }
Пример #2
0
 protected void BeforeTestRun()
 {
     _transaction = InstanceFactory.Resolve <TransactionManager>();
     _transaction.Bind();
     _transaction.BeginTransaction();
 }