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();
 }