public void SetUp()
 {
     _factory = RootClientTransactionComponentFactory.Create();
     _fakeConstructedTransaction = new TestableClientTransaction();
 }
示例#2
0
        public static ClientTransaction CreateStrictMock(MockRepository mockRepository)
        {
            var componentFactory = RootClientTransactionComponentFactory.Create();

            return(mockRepository.StrictMock <ClientTransaction> (componentFactory));
        }
 public TestableClientTransaction() : this(RootClientTransactionComponentFactory.Create())
 {
 }
示例#4
0
 public ClientTransactionWithCustomITransaction(ITransaction wrapper)
     : base(RootClientTransactionComponentFactory.Create())
 {
     _wrapper = wrapper;
 }